CVE-2024-34712
Last modified
CVE-2024-34712 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Oceanic is a NodeJS library for interfacing with Discord. Prior to version 1.10.4, input to functions such as `Client.rest.channels.removeBan` is not url-encoded, resulting in specially crafted input such as `../../../channels/{id}` being normalized into the url `/api/v10/channels/{id}`, and deleting a channel rather than removing a ban. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
Description
Oceanic is a NodeJS library for interfacing with Discord. Prior to version 1.10.4, input to functions such as `Client.rest.channels.removeBan` is not url-encoded, resulting in specially crafted input such as `../../../channels/{id}` being normalized into the url `/api/v10/channels/{id}`, and deleting a channel rather than removing a ban. Version 1.10.4 fixes this issue. Some workarounds are available. One may sanitize user input, ensuring strings are valid for the purpose they are being used for. One may also encode input with `encodeURIComponent` before providing it to the library.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-34712?
How severe is CVE-2024-34712?
How do I fix CVE-2024-34712?
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-34707Nautobot is a Network Source of Truth and Network Automation…4.8
- CVE-2024-34708Directus is a real-time API and App dashboard for managing S…4.9
- CVE-2024-34709Directus is a real-time API and App dashboard for managing S…5.4
- CVE-2024-3471The Button Generator WordPress plugin before 3.0 does not h…3.4
- CVE-2024-34710Wiki.js is al wiki app built on Node.js. Client side templat…7.1
- CVE-2024-34711GeoServer is an open source server that allows users to shar…8.2
- CVE-2024-34713sshproxy is used on a gateway to transparently proxy a user …3.5
- CVE-2024-34714The Hoppscotch Browser Extension is a browser extension for …7.6
- CVE-2024-34715Fides is an open-source privacy engineering platform. The Fi…3.3
- CVE-2024-34716PrestaShop is an open source e-commerce web application. A c…6.1
- CVE-2024-34717PrestaShop is an open source e-commerce web application. In …5.3
- CVE-2024-34719In multiple locations, there is a possible permissions bypas…7.8
Are you affected by CVE-2024-34712?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
