OSV-2022-127 Heap-use-after-free in UA_ServerConfig_clean

Not scored Published

A heap-use-after-free vulnerability in the OPC UA library allows attackers to cause denial of service or potentially execute code via crafted messages.

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

What is OSV-2022-127?

OSV-2022-127 is an use after free vulnerability in open62541, published on 7 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Crash type: Heap-use-after-free READ 8
Crash state:
UA_ServerConfig_clean
fuzz_binary_message.cc
UA_memoryManager_free

Which versions are affected by OSV-2022-127?

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

PackageAffectedFixed in
open62541 OSS-FuzzAll versionsNone

How do I fix OSV-2022-127?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2022-127 being exploited?

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

Sources

Is OSV-2022-127 in your software?

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

Check your SBOMs for free