OSV-2022-842 Stack-buffer-overflow in wc_Shake256_Final

Not scored Published

A stack buffer overflow in the wolfSSL library's SHAKE256 finalization function allows attackers to cause crashes or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2022-842?

OSV-2022-842 is a memory corruption vulnerability in wolfssl, published on 5 Sep 2022.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50946

Crash type: Stack-buffer-overflow WRITE {*}
Crash state:
wc_Shake256_Final
wc_ed448_sign_msg_ex
wc_ed448_sign_msg

Which versions are affected by OSV-2022-842?

1 open source package ship an affected version, including wolfssl.

PackageAffectedFixed in
wolfssl OSS-FuzzAll versionsNone

How do I fix OSV-2022-842?

No fix has been published for OSV-2022-842 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2022-842 being exploited?

There is no known exploitation of OSV-2022-842 in the wild and no public exploit code.

Sources

Is OSV-2022-842 in your software?

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

Check your SBOMs for free