{"id":"EUVD-2024-1440","enisaUuid":"c638551d-ccc4-3afe-8de9-b3a327ad90a5","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.","datePublished":"May 14, 2024, 2:32:06 PM","dateUpdated":"Aug 2, 2024, 2:59:22 AM","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","references":"https://github.com/OceanicJS/Oceanic/security/advisories/GHSA-5h5v-hw44-f6gg\nhttps://github.com/OceanicJS/Oceanic/commit/8bf8ee8373b8c565fbdbf70a609aba4fbc1a1ffe\n","aliases":"CVE-2024-34712\nGHSA-5h5v-hw44-f6gg\n","assigner":"GitHub_M","epss":0.56,"enisaIdProduct":[{"id":"1589946b-891a-32e7-87bf-74ecd4e62a8d","product":{"name":"Oceanic","vendor":{"name":"Freelancelot"}},"product_version":"\u003c 1.10.4"}],"enisaIdVendor":[{"id":"68d8f2ca-ae6e-3179-8dd3-44215912887d","vendor":{"name":"OceanicJS"}}],"enisaIdVulnerability":[{"id":"1d18eb4f-f3dd-3f91-9ec9-50ce540dc066","vulnerability":{"id":"GHSA-5h5v-hw44-f6gg","description":"Oceanic allows unsanitized user input to lead to path traversal in URLs","datePublished":"May 14, 2024, 8:13:58 PM","dateUpdated":"May 14, 2024, 8:13:58 PM","baseScore":null,"references":"https://github.com/OceanicJS/Oceanic/security/advisories/GHSA-5h5v-hw44-f6gg\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-34712\nhttps://github.com/OceanicJS/Oceanic/commit/8bf8ee8373b8c565fbdbf70a609aba4fbc1a1ffe\nhttps://github.com/OceanicJS/Oceanic\n","enisa_id":"EUVD-2024-1440\n","aliases":"CVE-2024-34712\nGHSA-5h5v-hw44-f6gg\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:35:08 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"461bd2a2-51b9-3ab5-bfa9-6ebba23826a9","vulnerability":{"id":"CVE-2024-34712","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.","datePublished":"May 14, 2024, 2:32:06 PM","dateUpdated":"Aug 2, 2024, 2:59:22 AM","status":"PUBLISHED","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","references":"https://github.com/OceanicJS/Oceanic/security/advisories/GHSA-5h5v-hw44-f6gg\nhttps://github.com/OceanicJS/Oceanic/commit/8bf8ee8373b8c565fbdbf70a609aba4fbc1a1ffe\n","enisa_id":"EUVD-2024-1440\n","assigner":"GitHub_M","epss":0.56,"dataProcessed":"Nov 12, 2026, 7:25:34 AM","vulnerabilityProduct":[{"id":"9adb5062-37f3-4655-be51-448417f8cf79","product":{"name":"Oceanic","vendor":{"name":"Freelancelot"}},"product_version":"\u003c 1.10.4"},{"id":"a55a8308-56bb-306f-a9da-7115362e16ab","product":{"name":"Oceanic","vendor":{"name":"Freelancelot"}},"product_version":"\u003c 1.10.4"}],"vulnerabilityVendor":[{"id":"409fcb07-3986-373d-acc0-505c7ebd4bf6","vendor":{"name":"OceanicJS"}}]}}],"enisaIdAdvisory":[]}