{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57822 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-57822 is a medium-severity memory corruption vulnerability in librdf Raptor RDF Syntax Library, published on 10 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-57822 and fix it if it is affected.\n\nWhat it is: CVE-2024-57822 is a medium-severity memory corruption vulnerability in librdf Raptor RDF Syntax Library, published on 10 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57822 exists.\n\nAffected product: librdf Raptor RDF Syntax Library. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-57822/ (Markdown: https://insights.sbomify.com/CVE-2024-57822/index.md)","id":"CVE-2024-57822","markdown":"https://insights.sbomify.com/CVE-2024-57822/index.md","name":"CVE-2024-57822","record":{"aliases":["AZL-55475","AZL-55478","BELL-CVE-2024-57822","DEBIAN-CVE-2024-57822","GHSA-4g53-844p-p879","OESA-2025-1887","UBUNTU-CVE-2024-57822","openSUSE-SU-2025:15334-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"RDF parsing library","requires_auth":"none","summary":"A heap-based buffer over-read in the Raptor RDF library allows attackers to cause denial of service or disclose sensitive memory contents via crafted nquads input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"raptor_rdf_syntax_library","vendor":"librdf"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing triples with the nquads parser in raptor_ntriples_parse_term_internal().","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in Raptor RDF Syntax Library","id":"CVE-2024-57822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":1,"n_references":3,"next":{"headline":"Integer overflow in Raptor RDF Syntax Library","id":"CVE-2024-57823"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.0.16-5.1"],"introduced":["0"],"last_affected":[],"package":"raptor","purl":"pkg:rpm/opensuse/raptor\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15334-1"}],"prev":{"headline":"Hardcoded credentials in n/a","id":"CVE-2024-57811"},"products":["Raptor RDF Syntax Library"],"published":"2025-01-10","related":[{"cvss_score":9.3,"headline":"Integer overflow in Raptor RDF Syntax Library","id":"CVE-2024-57823","kev_date_added":null,"published":"2025-01-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["librdf"]},"summary":"A heap-based buffer over-read in the Raptor RDF library allows attackers to cause denial of service or disclose sensitive memory contents via crafted nquads input.","url":"https://insights.sbomify.com/CVE-2024-57822/"}