OSV-2024-177 Heap-buffer-overflow in p11_rpc_buffer_get_date_value

Not scored Published

A heap buffer overflow in the PKCS#11 RPC library allows attackers to cause crashes or potentially execute arbitrary code via crafted messages.

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

What is OSV-2024-177?

OSV-2024-177 is a memory corruption vulnerability in p11-kit, published on 16 Mar 2024.

Official description

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

Crash type: Heap-buffer-overflow WRITE 8
Crash state:
p11_rpc_buffer_get_date_value
p11_rpc_message_get_date_value
p11_rpc_message_get_attribute

Which versions are affected by OSV-2024-177?

1 open source package ship an affected version, including p11-kit.

PackageAffectedFixed in
p11-kit OSS-FuzzAll versionsNone

How do I fix OSV-2024-177?

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

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

Sources

Is OSV-2024-177 in your software?

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

Check your SBOMs for free