CVE-2022-29240
Last modified
CVE-2022-29240 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Scylla is a real-time big data database that is API-compatible with Apache Cassandra and Amazon DynamoDB. When decompressing CQL frame received from user, Scylla assumes that user-provided uncompressed length is correct. EPSS estimates a 0.94% chance of exploitation in the next 30 days.
Description
Scylla is a real-time big data database that is API-compatible with Apache Cassandra and Amazon DynamoDB. When decompressing CQL frame received from user, Scylla assumes that user-provided uncompressed length is correct. If user provides fake length, that is greater than the real one, part of decompression buffer won't be overwritten, and will be left uninitialized. This can be exploited in several ways, depending on the privileges of the user. 1. The main exploit is that an attacker with access to CQL port, but no user account, can bypass authentication, but only if there are other legitimate clients making connections to the cluster, and they use LZ4. 2. Attacker that already has a user account on the cluster can read parts of uninitialized memory, which can contain things like passwords of other users or fragments of other queries / results, which leads to authorization bypass and sensitive information disclosure. The bug has been patched in the following versions: Scylla Enterprise: 2020.1.14, 2021.1.12, 2022.1.0. Scylla Open Source: 4.6.7, 5.0.3. Users unable to upgrade should make sure none of their drivers connect to cluster using LZ4 compression, and that Scylla CQL port is behind firewall. Additionally make sure no untrusted client can connect to Scylla, by setting up authentication and applying workarounds from previous point (firewall, no lz4 compression).
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Scylladb | Scylla | < 4.6.7 |
| Scylladb | Scylla | < 2020.1.14 |
| Scylladb | Scylla | >= 5.0.0, < 5.0.3 |
| Scylladb | Scylla | >= 2021.1.0, < 2021.1.12 |
References
- https://github.com/scylladb/scylla/security/advisories/GHSA-25pq-rrqm-6fmrThird Party Advisory
- https://github.com/scylladb/scylladb/commit/1c2eef384da439b0457b6d71c7e37d7268e471cbPatch, Third Party Advisory
- https://github.com/scylladb/scylladb/issues/11476Issue Tracking, Patch, Third Party Advisory
- https://github.com/scylladb/scylla/security/advisories/GHSA-25pq-rrqm-6fmrThird Party Advisory
- https://github.com/scylladb/scylladb/commit/1c2eef384da439b0457b6d71c7e37d7268e471cbPatch, Third Party Advisory
- https://github.com/scylladb/scylladb/issues/11476Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29240?
How severe is CVE-2022-29240?
How do I fix CVE-2022-29240?
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 2022
- CVE-2022-29234BigBlueButton is an open source web conferencing system. Sta…4.3
- CVE-2022-29235BigBlueButton is an open source web conferencing system. Sta…5.3
- CVE-2022-29236BigBlueButton is an open source web conferencing system. Sta…4.3
- CVE-2022-29237Opencast is a free and open source solution for automated vi…5.4
- CVE-2022-29238Jupyter Notebook is a web-based notebook environment for int…4.3
- CVE-2022-2924Cross-site Scripting (XSS) - Stored in GitHub repository yet…5.4
- CVE-2022-29241Jupyter Server provides the backend (i.e. the core services,…8.8
- CVE-2022-29242GOST engine is a reference implementation of the Russian GOS…7.5
- CVE-2022-29243Nextcloud Server is the file server software for Nextcloud, …4.3
- CVE-2022-29244npm pack ignores root-level .gitignore and .npmignore file e…7.5
- CVE-2022-29245SSH.NET is a Secure Shell (SSH) library for .NET. In version…5.9
- CVE-2022-29246Azure RTOS USBX is a USB host, device, and on-the-go (OTG) e…9.8
Are you affected by CVE-2022-29240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
