CVE-2022-1473: Resource leakage when decoding certificates and keys
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.46921%
CWE
Published
5/4/2022
Updated
8/17/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
openssl-src | rust | >= 300.0.0, < 300.0.6 | 300.0.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability description explicitly names OPENSSL_LH_flush as the problematic function.
- The commit diff shows the fix adds 'lh->num_items = 0' to this function, confirming improper cleanup.
- CWE-459 (Incomplete Cleanup) directly maps to the failure to reset the item count.
- All advisory sources (OpenSSL, NVD, RustSec) consistently reference this function as the root cause.
- The memory leak mechanism described matches the function's responsibility for hash table management during certificate/key decoding operations.