{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.pdfbox:pdfbox. It affects 15 products.","exploited":"There is no known exploitation of CVE-2021-27807 in the wild and no public exploit code.","fix":"Upgrade org.apache.pdfbox:pdfbox to 2.0.23 or later.","what":"CVE-2021-27807 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 19 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-27807 and fix it if it is affected.\n\nWhat it is: CVE-2021-27807 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 19 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-27807 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0; fixed in 2.0.23\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0; fixed in 2.0.23\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-2021-27807/ (Markdown: https://insights.sbomify.com/CVE-2021-27807/index.md)","id":"CVE-2021-27807","markdown":"https://insights.sbomify.com/CVE-2021-27807/index.md","name":"CVE-2021-27807","record":{"aliases":["DEBIAN-CVE-2021-27807","GHSA-2h3j-m7gr-25xj","RHLW-2026-4f7c55b876854238","RHLW-2026-b2c64e34ae82b333","UBUNTU-CVE-2021-27807"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java PDF library","requires_auth":"none","summary":"An attacker can cause a denial of service by providing a crafted PDF file that triggers an infinite loop in the Apache PDFBox library.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pdfbox","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"banking_trade_finance_process_management","vendor":"oracle"},{"product":"banking_treasury_management","vendor":"oracle"},{"product":"banking_virtual_account_management","vendor":"oracle"},{"product":"communications_messaging_server","vendor":"oracle"},{"product":"communications_session_report_manager","vendor":"oracle"},{"product":"flexcube_universal_banking","vendor":"oracle"},{"product":"hyperion_financial_reporting","vendor":"oracle"},{"product":"hyperion_infrastructure_technology","vendor":"oracle"},{"product":"outside_in_technology","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"retail_customer_management_and_segmentation_foundation","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"webcenter_sites","vendor":"oracle"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"description":"A carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.","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":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-27807","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fedoraproject:fedora","products":["fedoraproject:fedora","oracle:communications_session_report_manager","oracle:flexcube_universal_banking","oracle:hyperion_infrastructure_technology","oracle:outside_in_technology","oracle:primavera_unifier","oracle:retail_customer_management_and_segmentation_foundation","oracle:retail_xstore_point_of_service","oracle:webcenter_sites"],"type":"denial_of_service","year":"2021"},"n_packages":2,"n_references":22,"next":{"headline":"Code injection in n/a","id":"CVE-2021-27811"},"packages":[{"ecosystem":"Maven","fixed":["2.0.23"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-2h3j-m7gr-25xj"},{"ecosystem":"Maven","fixed":["2.0.23"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"GHSA-2h3j-m7gr-25xj"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-27804"},"products":["Apache PDFBox"],"published":"2021-03-19","related":[{"cvss_score":7.8,"headline":"High severity vulnerability that affects org.apache.pdfbox:pdfbox","id":"CVE-2016-2175","kev_date_added":null,"published":"2016-06-01"},{"cvss_score":6.5,"headline":"Loop with Unreachable Exit Condition in Apache PDFBox","id":"CVE-2018-8036","kev_date_added":null,"published":"2018-07-03"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file","id":"CVE-2021-31811","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-31812","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file","id":"CVE-2021-27906","kev_date_added":null,"published":"2021-03-19"},{"cvss_score":5.5,"headline":"In Apache PDFBox a carefully crafted PDF file can trigger an extremely long running computation","id":"CVE-2018-11797","kev_date_added":null,"published":"2018-10-05"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Apache Software Foundation"]},"summary":"An attacker can cause a denial of service by providing a crafted PDF file that triggers an infinite loop in the Apache PDFBox library.","url":"https://insights.sbomify.com/CVE-2021-27807/"}