RUSTSEC-2022-0025

Source
https://rustsec.org/advisories/RUSTSEC-2022-0025
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0025.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0025
Aliases
Published
2022-05-03T12:00:00Z
Modified
2023-11-08T04:07:49.486512Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Resource leakage when decoding certificates and keys
Details

The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occupied by the removed hash table entries.

This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time.

Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication.

References

Affected packages

crates.io / openssl-src

Package

Affected ranges

Type
SEMVER
Events
Introduced
300.0.0
Fixed
300.0.6

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}