CVE-2022-1434
Incorrect MAC key used in the RC4-MD5 ciphersuite
Reported by openssl · Published May 3, 2022
The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that the modified data would still pass the MAC integrity check. Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint will always be rejected by the recipient and the connection will fail at that point. Many application protocols require data to be sent from the client to the server first. Therefore, in such a case, only an OpenSSL 3.0 server would be impacted when talking to a non-OpenSSL 3.0 client. If both endpoints are OpenSSL 3.0 then the attacker could modify data being sent in both directions. In this case both clients and servers could be affected, regardless of the application protocol. Note that in the absence of an attacker this bug means that an OpenSSL 3.0 endpoint communicating with a non-OpenSSL 3.0 endpoint will fail to complete the handshake when using this ciphersuite. The confidentiality of data is not impacted by this issue, i.e. an attacker cannot decrypt data that has been encrypted using this ciphersuite - they can only modify it. In order for this attack to work both endpoints must legitimately negotiate the RC4-MD5 ciphersuite. This ciphersuite is not compiled by default in OpenSSL 3.0, and is not available within the default provider or the default ciphersuite list. This ciphersuite will never be used if TLSv1.3 has been negotiated. In order for an OpenSSL 3.0 endpoint to use this ciphersuite the following must have occurred: 1) OpenSSL must have been compiled with the (non-default) compile time option enable-weak-ssl-ciphers 2) OpenSSL must have had the legacy provider explicitly loaded (either through application code or via configuration) 3) The ciphersuite must have been explicitly added to the ciphersuite list 4) The libssl security level must have been set to 0 (default is 1) 5) A version of SSL/TLS below TLSv1.3 must have been negotiated 6) Both endpoints must negotiate the RC4-MD5 ciphersuite in preference to any others that both endpoints have in common Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl | conan.io | 3.0.3 |
| openssl3 | Alpine | 3.0.3-r0 |
| openssl | Amazon Linux | 1:3.0.5-1.amzn2023.0.4 |
| openssl | Alpine | 3.0.3-r0 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| openssl | openssl | 3.0.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2) |
| alpine | openssl3 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | openssl | 0 |
| alpine | openssl | 0 |
| OpenSSL | OpenSSL | 3.0.3 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| ConanCenter | openssl | 3.0.0 |
| wolfi | ruby-3.1 | * |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | openssl-libs | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| crates.io | openssl-src | 300.0.0 |
| amazon:2023 | openssl-devel | 0 |
| chainguard | ruby-3.1 | * |
| amazon:2023 | openssl-perl | 0 |
Timeline
- May 3, 2022 CVE Published
- May 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published (2 in total, the first dated here)
- Feb 9, 2026 CVE Updated
- Mar 17, 2026 Security Advisory (22 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (20 in total, the first dated here)
- Jul 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-1434
vulnetix vdb fixes CVE-2022-1434
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1434/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-1434 advisory
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=7d56a74a96828985db7354a55227a511615f732b url
- Multiples vulnérabilités dans les produits Juniper advisory
- https://cert-portal.siemens.com/productcert/html/ssa-953464.html url
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://github.com/advisories/GHSA-638m-m8mh-7gw2 advisory
- https://github.com/github/advisory-database/issues/405 advisory
- https://rustsec.org/advisories/RUSTSEC-2022-0026.html url
- https://security.netapp.com/advisory/ntap-20220602-0009 advisory