The last post on this topic sounded a
skeptical note on the prospects for a new FIPS 140 validated module for OpenSSL 1.1 and
beyond. That post noted a rather improbable set of prerequisites for a new validation attempt;
ones I thought only a governmental sponsor could meet (as was the case for the five previous
open source based validations).
Multiple commercial vendors have offered to fund (very generously in some cases) a new validation
effort under terms that would guarantee them a proprietary validation, while not guaranteeing
an open source based validation. At one point we actually came close to closing a deal that would
have funded an open source based validation attempt in exchange for a limited period of exclusivity;
a reasonable trade-off in my opinion. But, I eventually concluded that was too risky given an
uncertain reception by the FIPS validation bureaucracy, and we decided to wait for a “white knight”
sponsor that might never materialize.
In commits a004e72b9 (1.0.2) and 6f35f6deb (1.0.1) we released a fix for
CVE-2016-2177. The fix corrects a common coding idiom present in OpenSSL 1.0.2
and OpenSSL 1.0.1 which actually relies on a usage of pointer arithmetic that
is undefined in the C specification. The problem does not exist in master
(OpenSSL 1.1.0) which refactored this code some while ago. This usage could give
rise to a low severity security issue in certain unusual scenarios. The OpenSSL
security policy (https://openssl-library.org/policies/general/security-policy/) states that we
publish low severity issues directly to our public repository, and they get
rolled up into the next release whenever that happens. The rest of this blog
post describes the problem in a little more detail, explains the scenarios
where a security issue could arise and why this issue has been rated as low
severity.
Today, an international group of researchers unveiled
DROWN (Decrypting RSA with Obsolete and
Weakened eNcryption), aka CVE-2016-0800, a novel cross-protocol attack that uses SSLv2
handshakes to decrypt TLS sessions.
Over the past weeks, the OpenSSL team worked closely with the
researchers to determine the exact impact of DROWN on OpenSSL and
devise countermeasures to protect our users. Today’s
OpenSSL release makes it
impossible to configure a TLS server in such a way that it is vulnerable to
DROWN.
Coming back after a month and two weeks, it’s time to resume with the
next engine lesson, this time building an engine implementing a
digest.
It doesn’t matter much what digest algorithm we choose. Being lazy,
I’ve chosen one with a well defined reference implementation, MD5
(reference implementation is found in
RFC 1321)
This example isn’t complete, it will not compile. However, it
contains the absolute minimum required for those module to even be
recognised as an OpenSSL engine.
For the longest time, it seems that people have wanted to have their
diverse engines bundled with the OpenSSL source, as if there was no
other way to build it or distribute it.
Nothing could be further from the truth. Also, having the engine for
some hardware bundled with the OpenSSL source presents a maintainance
problem, and the better solution is for those who have an engine to
maintain theḿ themselves.
We’ve just added a new severity level called “critical severity” to our
security policy. When we first introduced the policy, over a year ago, we just
had three levels, “Low”, “Moderate”, and “High”. So why did we add “Critical” and
why are we not using someone else’s standard definitions?
After introducing the new policy we started giving everyone a headsup when we
were due to release OpenSSL updates that included security fixes. The headsup
doesn’t contain any details of the issues being fixed apart from the maximum
severity level and a date a few days in the future.
Some of you may have noticed that the upcoming 1.1 release doesn’t include any FIPS support. That omission is not by choice; it was forced on us by circumstances and will hopefully not be permanent.
The v2.0 OpenSSL FIPS module is compatible with the 1.0.x releases, in particular the 1.0.2 “LTS” release that will be supported through 2019. It has proven very popular, used both directly by hundreds of software vendors and indirectly as a model for copycat “private label” validations.
Over the last 10 years, OpenSSL has published advisories on over 100 vulnerabilities. Many more were likely silently fixed in the early days, but in the past year our goal has been to establish a clear public record.
In September 2014, the team adopted a security policy that defines how we handle vulnerability reports. One year later, I’m very happy to conclude that our policy is enforced, and working well.
Our policy divides vulnerabilities into three categories, and defines actions for each category: we use the severity ranking to balance the need to get the fix out fast with the burden release upgrades put on our consumers.