Issue summary: Verifying a maliciously crafted CMS or PKCS#7 SignedData message with CRL checking enabled may consume excessive CPU time, growing with the square of the message siz
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
Issue summary: Verifying a maliciously crafted CMS or PKCS#7 SignedData message with CRL checking enabled may consume excessive CPU time, growing with the square of the message size. Impact summary: An attacker who can submit a CMS or PKCS#7 SignedData message to an application that verifies it with CRL checking enabled can occupy a CPU core for seconds to minutes, causing Denial of Service. Applications that leave CRL checking disabled are not affected. CWE: CWE-407: Inefficient Algorithmic Complexity Description: With CRL checking enabled, OpenSSL compares each CRL distribution point of a certificate against the issuing distribution point of every candidate CRL. For a nameRelativeToCRLIssuer distribution point, the full name is the CRL issuer name with the relative name appended. Since the change that deferred this computation, crl_crldp_check() rebuilds that full name for each candidate CRL and frees it again. CMS_verify() and PKCS7_verify() take both the distribution points and the candidate CRLs from the message, and this scoring runs before any signature is checked. An application is exposed only if it sets X509_V_FLAG_CRL_CHECK on the store and does not pass CMS_NOCRL or PKCS7_NOCRL; CRL checking is off by default. In TLS the CRLs come from the local store, so a peer controls only the distribution point count. The cost grows with the product of the distribution point count, the CRL count and the issuer name length, all chosen by the message author; a few hundred kilobytes can occupy a CPU core for tens of seconds. Verification still fails as it should, with no crash, no incorrect result and no memory growth. Requiring CRL checking is what limits the severity. FIPS impact: no The affected code is outside the FIPS module boundary.
Inefficient Algorithmic Complexity CWE-407
An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Weakness data: MITRE Common Weakness Enumeration.
Uncontrolled Resource Consumption CWE-400
An attacker can make the software use up memory, disk or processing power until it stops working.
The product does not properly control the allocation and maintenance of a limited resource.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| OpenSSL OpenSSL | Software | from 4.1.0, before 4.1.1; from 4.0.0, before 4.0.4; from 3.5.0, before 3.5.10 | 4.1.1; 4.0.4; 3.5.10 |
The 7.5 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 3.6 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 4 sources for this flaw, none tagged as a vendor patch.