CVE-2022-37454 Buffer overflow in sponge queue functions

Critical 9.8 Published Updated

An integer overflow in the Keccak SHA-3 reference implementation allows attackers to execute arbitrary code or bypass cryptographic properties.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-37454?

CVE-2022-37454 is a critical vulnerability in Debian Debian Linux, published on 21 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

Weakness: CWE-190

Which versions are affected by CVE-2022-37454?

11 open source packages ship an affected version, including pysha3, libphp and libpython. It affects 8 products.

PackageAffectedFixed in
pysha3 PyPIAll versions to 1.0.2None
pysha3 PyPIAll versions to 1.0.2None
pysha3 PyPIAll versions to 1.0.2None
libphp BitnamiFrom 7.2.07.4.33, 8.0.25, 8.1.12
libpython BitnamiFrom 3.6.03.7.16, 3.8.16, 3.9.16, 3.10.9
php BitnamiFrom 7.2.07.4.33, 8.0.25, 8.1.12
5 more packages
php-min BitnamiFrom 7.2.07.4.33, 8.0.25, 8.1.12
python BitnamiFrom 3.6.03.7.16, 3.8.16, 3.9.16, 3.10.9
python-min BitnamiFrom 3.6.03.7.16, 3.8.16, 3.9.16, 3.10.9
sha3 RubyGemsAll versions1.0.5
sha3 RubyGemsAll versions1.0.5
Linux distribution packages (4)
php7 openSUSE:TumbleweedAll versions7.4.33-1.1
python310 openSUSE:TumbleweedAll versions3.10.9-1.1
python38 openSUSE:TumbleweedAll versions3.8.15-3.1
python39 openSUSE:TumbleweedAll versions3.9.16-1.1

Products include Debian Debian Linux, Extended Keccak Code Package Project Extended Keccak Code Package, Fedoraproject Fedora, Php Php, Pypy Pypy, Pysha3 Project Pysha3 and 2 more.

How do I fix CVE-2022-37454?

Apply the vendor's patch.

Is CVE-2022-37454 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-37454 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-37454, AZL-11501, AZL-11503, BIT-libphp-2022-37454, BIT-libpython-2022-37454, BIT-php-2022-37454 and 26 more.

Is CVE-2022-37454 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free