{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.pdfbox:pdfbox. It affects 19 products.","exploited":"There is no known exploitation of CVE-2021-27906 in the wild and no public exploit code.","fix":"Upgrade org.apache.pdfbox:pdfbox to 2.0.23 or later.","what":"CVE-2021-27906 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-27906 and fix it if it is affected.\n\nWhat it is: CVE-2021-27906 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-27906 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-27906/ (Markdown: https://insights.sbomify.com/CVE-2021-27906/index.md)","id":"CVE-2021-27906","markdown":"https://insights.sbomify.com/CVE-2021-27906/index.md","name":"CVE-2021-27906","record":{"aliases":["DEBIAN-CVE-2021-27906","GHSA-6vqp-h455-42mr","UBUNTU-CVE-2021-27906"],"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":"Attackers can cause a denial of service via memory exhaustion by providing a crafted PDF file to applications using the vulnerable 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_corporate_lending_process_management","vendor":"oracle"},{"product":"banking_credit_facilities_process_management","vendor":"oracle"},{"product":"banking_supply_chain_finance","vendor":"oracle"},{"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":"peoplesoft_enterprise_peopletools","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-789","name":"Memory Allocation with Excessive Size Value"}],"description":"A carefully crafted PDF file can trigger an OutOfMemory-Exception 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 OutOfMemory-Exception while loading the file","id":"CVE-2021-27906","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:peoplesoft_enterprise_peopletools","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":"Apache Superset stored XSS on Dashboard markdown","id":"CVE-2021-27907"},"packages":[{"ecosystem":"Maven","fixed":["2.0.23"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-6vqp-h455-42mr"},{"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-6vqp-h455-42mr"}],"prev":{"headline":"SSRF vulnerability with the Replication handler","id":"CVE-2021-27905"},"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 infinite loop while loading the file","id":"CVE-2021-27807","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":"Attackers can cause a denial of service via memory exhaustion by providing a crafted PDF file to applications using the vulnerable library.","url":"https://insights.sbomify.com/CVE-2021-27906/"}