CVE-2024-2338
Last modified
CVE-2024-2338 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. PostgreSQL Anonymizer v1.2 contains a SQL injection vulnerability that allows a user who owns a table to elevate to superuser when dynamic masking is enabled. PostgreSQL Anonymizer enables users to set security labels on tables to mask specified columns. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
PostgreSQL Anonymizer v1.2 contains a SQL injection vulnerability that allows a user who owns a table to elevate to superuser when dynamic masking is enabled. PostgreSQL Anonymizer enables users to set security labels on tables to mask specified columns. There is a flaw that allows complex expressions to be provided as a value. This expression is then later used as it to create the masked views leading to SQL Injection. If dynamic masking is enabled, this will lead to privilege escalation to superuser after the label is created. Users that don't own a table, especially masked users cannot exploit this vulnerability. The problem is resolved in v1.3.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dalibo | Anonymizer | 1.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-2338?
How severe is CVE-2024-2338?
How do I fix CVE-2024-2338?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-23374Memory corruption is possible when an attempt is made from u…6.7
- CVE-2024-23375Memory corruption during the network scan request.6.7
- CVE-2024-23376Memory corruption while sending the persist buffer command p…6.7
- CVE-2024-23377Memory corruption while invoking IOCTL command from user-spa…6.7
- CVE-2024-23378Memory corruption while invoking IOCTL calls for MSM module …6.7
- CVE-2024-23379Memory corruption while unmapping the fastrpc map when two t…6.7
- CVE-2024-23380Memory corruption while handling user packets during VBO bin…7.8
- CVE-2024-23381Memory corruption when memory mapped in a VBO is not unmappe…7.8
- CVE-2024-23382Memory corruption while processing graphics kernel driver re…7.8
- CVE-2024-23383Memory corruption when kernel driver attempts to trigger har…7.8
- CVE-2024-23384Memory corruption when the mapped pages in VBO are still map…8.4
- CVE-2024-23385Transient DOS as modem reset occurs when an unexpected MAC R…6.5
Are you affected by CVE-2024-2338?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
