{"answers":{"affected":"6 open source packages ship an affected version, including com.itextpdf:itextpdf and com.lowagie:itext. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-9096 in the wild and no public exploit code.","fix":"Upgrade com.itextpdf:itextpdf to a fixed version for your release line: 5.5.12 or 7.0.3.","what":"CVE-2017-9096 is a high-severity vulnerability in n/a, published on 8 Nov 2017. 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-2017-9096 and fix it if it is affected.\n\nWhat it is: CVE-2017-9096 is a high-severity vulnerability in n/a, published on 8 Nov 2017. 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-2017-9096 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.itextpdf:itextpdf (Maven): affected all versions; fixed in 5.5.12\n- com.itextpdf:itextpdf (Maven): affected all versions; fixed in 5.5.12\n- com.itextpdf:itextpdf (Maven): affected from 7.0.0; fixed in 7.0.3\n- com.itextpdf:itextpdf (Maven): affected from 7.0.0; fixed in 7.0.3\n- com.lowagie:itext (Maven): affected all versions up to 4.2.2; no fix listed\n- com.lowagie:itext (Maven): affected all versions up to 4.2.2; no fix listed\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-2017-9096/ (Markdown: https://insights.sbomify.com/CVE-2017-9096/index.md)","id":"CVE-2017-9096","markdown":"https://insights.sbomify.com/CVE-2017-9096/index.md","name":"CVE-2017-9096","record":{"aliases":["CLSA-2025-1761005191","CLSA-2026-1787125497","CLSA-2026-1787667201","GHSA-86p9-x5pw-94qx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"iText PDF library","requires_auth":"none","summary":"Remote attackers can exploit XML external entity vulnerabilities in iText PDF parsers to read sensitive data or cause denial of service.","user_interaction":"required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"itext","vendor":"itextpdf"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2022-05-18","github_poc":1,"max_poc_stars":13,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-05-18T10:03:53Z","kind":"github_poc","ref":"https://github.com/jakabakos/CVE-2017-9096-iText-XXE","stars":13,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Improper Restriction of XML External Entity Reference in iText","id":"CVE-2017-9096","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2017"},"n_packages":6,"n_references":4,"next":{"headline":"Path traversal in n/a","id":"CVE-2017-9097"},"packages":[{"ecosystem":"Maven","fixed":["5.5.12"],"introduced":["0"],"last_affected":[],"package":"com.itextpdf:itextpdf","purl":null,"source":"GHSA-86p9-x5pw-94qx"},{"ecosystem":"Maven","fixed":["5.5.12"],"introduced":["0"],"last_affected":[],"package":"com.itextpdf:itextpdf","purl":"pkg:maven/com.itextpdf/itextpdf","source":"GHSA-86p9-x5pw-94qx"},{"ecosystem":"Maven","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"com.itextpdf:itextpdf","purl":null,"source":"GHSA-86p9-x5pw-94qx"},{"ecosystem":"Maven","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"com.itextpdf:itextpdf","purl":"pkg:maven/com.itextpdf/itextpdf","source":"GHSA-86p9-x5pw-94qx"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["4.2.2"],"package":"com.lowagie:itext","purl":null,"source":"GHSA-86p9-x5pw-94qx"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["4.2.2"],"package":"com.lowagie:itext","purl":"pkg:maven/com.lowagie/itext","source":"GHSA-86p9-x5pw-94qx"}],"prev":{"headline":"XML external entity in n/a","id":"CVE-2017-9095"},"products":["n/a"],"published":"2017-11-08","related":[{"cvss_score":6.5,"headline":"Allocation of Resources Without Limits or Throttling in iText","id":"CVE-2022-24196","kev_date_added":null,"published":"2022-02-01"},{"cvss_score":6.5,"headline":"Out-of-bounds Write in iText","id":"CVE-2022-24197","kev_date_added":null,"published":"2022-02-01"},{"cvss_score":6.5,"headline":"Out-of-bounds Read in iText","id":"CVE-2022-24198","kev_date_added":null,"published":"2022-02-01"},{"cvss_score":4.3,"headline":"Apryse iText PdfDocument.java main array index","id":"CVE-2023-6298","kev_date_added":null,"published":"2023-11-26"},{"cvss_score":4.3,"headline":"Apryse iText Reference Table PdfDocument.java memory leak","id":"CVE-2023-6299","kev_date_added":null,"published":"2023-11-26"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can exploit XML external entity vulnerabilities in iText PDF parsers to read sensitive data or cause denial of service.","url":"https://insights.sbomify.com/CVE-2017-9096/"}