{"id":"CVE-2024-23684","aliases":["CVE-2024-23684","GHSA-fj2w-wfgv-mwq6"],"related":[],"kind":"vulnerability","state":"published","title":"upokecenter CBOR Denial of Service","summary":"Inefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Inefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.","source":"cvelist"},{"lang":"en","text":"### Impact\nDue to this library's use of an inefficient algorithm, it is vulnerable to a denial of service attack when a maliciously crafted input is passed to `DecodeFromBytes` or other CBOR decoding mechanisms in this library.  \n\nAffected versions _include_ versions 4.0.0 through 4.5.0.\n\nThis vulnerability was privately reported to me.\n\n### Patches\nThis issue has been fixed in version 4.5.1.  Users should use the latest version of this library.  (The latest version is not necessarily 4.5.1.  Check the README for [this library's repository](https://github.com/peteroupc/CBOR-Java) to see the latest version's version number.)\n\n### Workarounds\n\nAgain, users should use the latest version of this library.\n\nIn the meantime, note that the inputs affected by this issue are all CBOR maps or contain CBOR maps.  An input that decodes to a single CBOR object is not capable of containing a CBOR map if&mdash;\n\n- it begins with a byte other than 0x80 through 0xDF, or\n- it does not contain a byte in the range 0xa0 through 0xBF.\n\nSuch an input is not affected by this vulnerability and an application can choose to perform this check before passing it to a CBOR decoding mechanism.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the CBOR repository](https://github.com/peteroupc/CBOR-Java).","format":"markdown","source":"ghsa"},{"lang":"es","text":"La complejidad algorítmica ineficiente en la función DecodeFromBytes en com.upokecenter.cbor la implementación Java de Concise Binary Object Representation (CBOR) versiones 4.0.0 a 4.5.1 permite a un atacante provocar una denegación de servicio al pasar una entrada manipulada con fines malintencionados. Dependiendo del uso de esta librería por parte de una aplicación, este puede ser un atacante remoto.","source":"nvd"}],"published":"2022-01-21T23:21:48.000Z","modified":"2026-11-08T14:00:00.715Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"maven","introduced":"4.0.0","fixed":"4.5.1","status":"affected"}],"package":"com.upokecenter:cbor","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.5.1"}],"ecosystem":"Maven","package":"com.upokecenter:cbor","purl":"pkg:maven/com.upokecenter/cbor","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.5.1"}],"vendor":"peteroupc","product":"cbor","cpe":"cpe:2.3:a:peteroupc:cbor:*:*:*:*:*:.net:*:*","source":"nvd"}],"references":[{"url":"https://github.com/peteroupc/CBOR-Java/security/advisories/GHSA-fj2w-wfgv-mwq6","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-fj2w-wfgv-mwq6","tags":["mitigation","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-fj2w-wfgv-mwq6","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23684","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/peteroupc/CBOR-Java","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-20T22:34:20.958Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23684","url":"https://www.cve.org/CVERecord?id=CVE-2024-23684","licence":"CVE Terms of Use","modified":"2026-11-08T14:00:00.715Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fj2w-wfgv-mwq6","url":"https://github.com/advisories/GHSA-fj2w-wfgv-mwq6","licence":"CC-BY-4.0","modified":"2026-07-08T06:53:02.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23684","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23684","licence":"Public domain","modified":"2026-07-14T23:17:16.540Z"}],"updatedAt":"2026-11-25T22:58:36.246Z","epss":{"score":0.01019,"percentile":0.64348,"date":"2026-12-01T12:00:22.000Z"}}