{"answers":{"affected":"2 open source packages ship an affected version, including io.netty.incubator:netty-incubator-codec-ohttp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-36121 in the wild and no public exploit code.","fix":"Upgrade io.netty.incubator:netty-incubator-codec-ohttp to 0.0.11.Final or later.","what":"CVE-2024-36121 is a medium-severity vulnerability in netty-incubator-codec-ohttp, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-36121 and fix it if it is affected.\n\nWhat it is: CVE-2024-36121 is a medium-severity vulnerability in netty-incubator-codec-ohttp, published on 4 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-36121 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.netty.incubator:netty-incubator-codec-ohttp (Maven): affected from 0.0.3.Final; fixed in 0.0.11.Final\n- io.netty.incubator:netty-incubator-codec-ohttp (Maven): affected from 0.0.3.Final; fixed in 0.0.11.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-36121/ (Markdown: https://insights.sbomify.com/CVE-2024-36121/index.md)","id":"CVE-2024-36121","markdown":"https://insights.sbomify.com/CVE-2024-36121/index.md","name":"CVE-2024-36121","record":{"aliases":["GHSA-g762-h86w-8749"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Netty OHTTP codec","requires_auth":"none","summary":"An integer overflow in Netty's OHTTP codec causes nonce reuse, potentially allowing attackers to decrypt or forge encrypted responses.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netty-incubator-codec-ohttp","vendor":"netty"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-323","name":"Reusing a Nonce, Key Pair in Encryption"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"netty-incubator-codec-ohttp is the OHTTP implementation for netty. BoringSSLAEADContext keeps track of how many OHTTP responses have been sent and uses this sequence number to calculate the appropriate nonce to use with the encryption algorithm. Unfortunately, two separate errors combine which would allow an attacker to cause the sequence number to overflow and thus the nonce to repeat.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"netty-incubator-codec-ohttp's BoringSSLAEADContext Repeats Nonces","id":"CVE-2024-36121","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Discourse doesn't limit reviewable user serializer payload","id":"CVE-2024-36122"},"packages":[{"ecosystem":"Maven","fixed":["0.0.11.Final"],"introduced":["0.0.3.Final"],"last_affected":[],"package":"io.netty.incubator:netty-incubator-codec-ohttp","purl":null,"source":"GHSA-g762-h86w-8749"},{"ecosystem":"Maven","fixed":["0.0.11.Final"],"introduced":["0.0.3.Final"],"last_affected":[],"package":"io.netty.incubator:netty-incubator-codec-ohttp","purl":"pkg:maven/io.netty.incubator/netty-incubator-codec-ohttp","source":"GHSA-g762-h86w-8749"}],"prev":{"headline":"javascript-deobfuscator crafted payload can lead to code execution","id":"CVE-2024-36120"},"products":["netty-incubator-codec-ohttp"],"published":"2024-06-04","related":[{"cvss_score":8.1,"headline":"Absent Input Validation in BinaryHttpParser in the netty incubator codec.bhttp","id":"CVE-2024-40642","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":6.9,"headline":"netty-incubator-codec-ohttp's HPKEContext operations may produce empty byte[] on failures","id":"CVE-2026-41207","kev_date_added":null,"published":"2026-06-04"},{"cvss_score":6.8,"headline":"netty-incubator-codec-ohttp's Incorrect Native Pointer Derivation in Pooled Direct ByteBuf Fallback Leads to Out-of-Bounds Native Memory Access","id":"CVE-2026-48040","kev_date_added":null,"published":"2026-06-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-06","vendors":["netty"]},"summary":"An integer overflow in Netty's OHTTP codec causes nonce reuse, potentially allowing attackers to decrypt or forge encrypted responses.","url":"https://insights.sbomify.com/CVE-2024-36121/"}