OSV-2020-1727 Heap-buffer-overflow in mbedtls_nist_kw_wrap

Not scored Published

A heap-buffer-overflow in mbed TLS's NIST key wrap function allows attackers to cause crashes or potentially execute code via crafted inputs.

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

What is OSV-2020-1727?

OSV-2020-1727 is a memory corruption vulnerability in cryptofuzz, published on 11 Sep 2020.

Official description

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

Crash type: Heap-buffer-overflow WRITE 16
Crash state:
mbedtls_nist_kw_wrap
mbedtls_cipher_auth_encrypt
cryptofuzz::module::mbedTLS_detail::encrypt_AEAD

Which versions are affected by OSV-2020-1727?

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

PackageAffectedFixed in
cryptofuzz OSS-FuzzAll versionsNone

How do I fix OSV-2020-1727?

No fix has been published for OSV-2020-1727 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-2020-1727 being exploited?

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

Sources

Is OSV-2020-1727 in your software?

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

Check your SBOMs for free