CVE-2022-37454CWE-190

CVE-2022-37454

Critical · published October 21, 2022

CVSS v3.1
9.8
EPSS
7%
Percentile
94.4
In the wild
Unconfirmed
What it is

🔥 A seemingly harmless integer overflow leads to a catastrophic buffer overflow in the Keccak SHA-3 implementation! Think of this as a production line that's designed to handle a certain number of items. If someone sneaks in and overloads the system, it doesn't just jam up—it could break down entirely and release anything stored within. An attacker exploiting this vulnerability could execute arbitrary code, potentially compromising sensitive cryptographic processes—like letting a fox into a henhouse! This not only threatens the integrity of the cryptographic properties but could lead to devastating data breaches.

Put simply

Think of this as a production line that's designed to handle a certain number of items. If someone sneaks in and overloads the system, it doesn't just jam up—it could break down entirely and release anything stored within. The vulnerability arises from an integer overflow in the sponge function interface, which results in a buffer overflow, allowing attackers to manipulate the execution flow and potentially execute arbitrary code.

What to do

An attacker exploiting this vulnerability could execute arbitrary code, potentially compromising sensitive cryptographic processes—like letting a fox into a henhouse! This not only threatens the integrity of the cryptographic properties but could lead to devastating data breaches. To safeguard your systems, patch to version fdc6fef or newer immediately. Ensure your cryptographic libraries are up-to-date and conduct a thorough review of your implementation to avoid any potential misuse. You’ve got this—stay vigilant, follow the steps, and you'll keep your cryptographic fortress secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.07413 · 94.4th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2022-10-21T10:15Z
Affected products (15)
ProductVersionsFixed in
extended_keccak_code_package_project/extended_keccak_code_packageall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
php/php≥ 7.2.0, < 7.4.337.4.33
php/php≥ 8.0.0, < 8.0.258.0.25
php/php≥ 8.1.0, < 8.1.128.1.12
python/python≥ 3.6.0, < 3.7.163.7.16
python/python≥ 3.8.0, < 3.8.163.8.16
python/python≥ 3.9.0, < 3.9.163.9.16
python/python≥ 3.10.0, < 3.10.93.10.9
sha3_project/sha3< 1.0.51.0.5
pysha3_project/pysha3all versions—
pypy/pypy≥ 7.0.0—
References (30)
https://csrc.nist.gov/projects/hash-functions/sha-3-project · [email protected]https://eprint.iacr.org/2023/331 · [email protected]https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658 · [email protected]https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html · [email protected]https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/ · [email protected]https://mouha.be/sha-3-buffer-overflow/ · [email protected]https://news.ycombinator.com/item?id=33281106 · [email protected]https://news.ycombinator.com/item?id=35050307 · [email protected]https://security.gentoo.org/glsa/202305-02 · [email protected]https://www.debian.org/security/2022/dsa-5267 · [email protected]https://www.debian.org/security/2022/dsa-5269 · [email protected]https://csrc.nist.gov/projects/hash-functions/sha-3-project · af854a3a-2127-422b-91ae-364da2661108https://eprint.iacr.org/2023/331 · af854a3a-2127-422b-91ae-364da2661108https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/ · af854a3a-2127-422b-91ae-364da2661108https://mouha.be/sha-3-buffer-overflow/ · af854a3a-2127-422b-91ae-364da2661108https://news.ycombinator.com/item?id=33281106 · af854a3a-2127-422b-91ae-364da2661108https://news.ycombinator.com/item?id=35050307 · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202305-02 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20230203-0001/ · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5267 · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5269 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-455250.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-806742.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 21 OCT 00:00Z
    The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary…
    cvelistv5