{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-3817 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-3817 is a high-severity use after free vulnerability in libcomps, published on 27 Mar 2019. 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-2019-3817 and fix it if it is affected.\n\nWhat it is: CVE-2019-3817 is a high-severity use after free vulnerability in libcomps, published on 27 Mar 2019. 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-2019-3817 in the wild and no public exploit code.\n\nAffected product: libcomps. 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-2019-3817/ (Markdown: https://insights.sbomify.com/CVE-2019-3817/index.md)","id":"CVE-2019-3817","markdown":"https://insights.sbomify.com/CVE-2019-3817/index.md","name":"CVE-2019-3817","record":{"aliases":["GHSA-3rh7-494q-3mjq","RHSA-2019:3898","openSUSE-SU-2019:0323-1","openSUSE-SU-2019:0328-1","openSUSE-SU-2024:10929-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libcomps library","requires_auth":"none","summary":"An attacker can trigger a use-after-free in libcomps by providing a crafted XML file, potentially leading to application crashes or arbitrary code execution.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libcomps","vendor":"rpm"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A use-after-free flaw has been discovered in libcomps before version 0.1.10 in the way ObjMRTrees are merged. An attacker, who is able to make an application read a crafted comps XML file, may be able to crash the application or execute malicious code.","ecosystems":["Red Hat:rhel_extras_other:7","SUSE:Package Hub 15"],"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":"Use after free in libcomps","id":"CVE-2019-3817","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2019"},"n_packages":7,"n_references":5,"next":{"headline":"Weak cryptography in kube-rbac-proxy","id":"CVE-2019-3818"},"packages":[{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"libcomps","purl":"pkg:rpm/redhat/libcomps","source":"RHSA-2019:3898"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"libcomps-debuginfo","purl":"pkg:rpm/redhat/libcomps-debuginfo","source":"RHSA-2019:3898"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"libcomps-devel","purl":"pkg:rpm/redhat/libcomps-devel","source":"RHSA-2019:3898"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"libcomps-doc","purl":"pkg:rpm/redhat/libcomps-doc","source":"RHSA-2019:3898"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"python-libcomps-doc","purl":"pkg:rpm/redhat/python-libcomps-doc","source":"RHSA-2019:3898"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.1.8-13.el7"],"introduced":["0"],"last_affected":[],"package":"python2-libcomps","purl":"pkg:rpm/redhat/python2-libcomps","source":"RHSA-2019:3898"},{"ecosystem":"SUSE:Package Hub 15","fixed":["0.1.8-bp150.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libcomps","purl":"pkg:rpm/suse/libcomps\u0026distro=SUSE%20Package%20Hub%2015","source":"openSUSE-SU-2019:0328-1"}],"prev":{"headline":"Path traversal in openwsman","id":"CVE-2019-3816"},"products":["libcomps"],"published":"2019-03-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["libcomps"]},"summary":"An attacker can trigger a use-after-free in libcomps by providing a crafted XML file, potentially leading to application crashes or arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2019-3817/"}