Application crash via shallow thread-attribute copy
Published May 25, 2021 · Updated Aug 3, 2024
Use-after-free in GNU C Library 2.32 and 2.33 allows attackers to crash an application through a crafted mq_notify call. In mq_notify's SIGEV_THREAD path, a shallow memcpy of pthread_attr_t retains a pointer to a separately allocated non-default CPU-affinity mask after the caller frees the original attributes. The affected application must invoke mq_notify with SIGEV_THREAD and a non-default affinity mask; the documented consequence is an application crash.
Summary
What happened
Use-after-free in GNU C Library 2.32 and 2.33 allows attackers to crash an application through a crafted mq_notify call. In mq_notify's SIGEV_THREAD path, a shallow memcpy of pthread_attr_t retains a pointer to a separately allocated non-default CPU-affinity mask after the caller frees the original attributes. The affected application must invoke mq_notify with SIGEV_THREAD and a non-default affinity mask; the documented consequence is an application crash.
The record
- CVE
- CVE-2021-33574
- Published
- May 25, 2021
- Updated
- Aug 3, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-416, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 25, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo