OSV-2021-120 Heap-use-after-free in UA_SecureChannel_deleteMembersCleanup
A heap-use-after-free vulnerability in the OPC UA library allows attackers to cause denial of service or potentially execute code via crafted network packets.
- 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-2021-120?
OSV-2021-120 is an use after free vulnerability in open62541, published on 13 Jan 2021. 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=5652
Crash type: Heap-use-after-free READ 8
Crash state:
UA_SecureChannel_deleteMembersCleanup
UA_SecureChannelManager_deleteMembers
UA_Server_delete
Which versions are affected by OSV-2021-120?
1 open source package ship an affected version, including open62541.
| Package | Affected | Fixed in |
|---|---|---|
open62541 OSS-Fuzz | All versions | None |
How do I fix OSV-2021-120?
No fix has been published for OSV-2021-120 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-2021-120 being exploited?
There is no known exploitation of OSV-2021-120 in the wild and no public exploit code.