{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-31504 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31504 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31504 is a high-severity vulnerability in OpenText Brava! Desktop, published on 3 Aug 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-31504 and fix it if it is affected.\n\nWhat it is: CVE-2021-31504 is a high-severity vulnerability in OpenText Brava! Desktop, published on 3 Aug 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-31504 in the wild and no public exploit code.\n\nAffected product: OpenText Brava! Desktop. 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-2021-31504/ (Markdown: https://insights.sbomify.com/CVE-2021-31504/index.md)","id":"CVE-2021-31504","markdown":"https://insights.sbomify.com/CVE-2021-31504/index.md","name":"CVE-2021-31504","record":{"aliases":["GHSA-m8pr-x6wc-r486"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PDF viewer","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious PDF files in OpenText Brava! Desktop.","user_interaction":"required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"brava\\!_desktop","vendor":"opentext"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-822","name":"Untrusted Pointer Dereference"}],"description":"This vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop Build 16.6.3.84 (package 16.6.3.134). User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PDF files. The issue results from the lack of proper validation of a user-supplied value prior to dereferencing it as a pointer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12691.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Null dereference in Brava! Desktop","id":"CVE-2021-31504","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Hardcoded credentials in Q Plus","id":"CVE-2021-31505"},"packages":[],"prev":{"headline":"Null dereference in Brava! Desktop","id":"CVE-2021-31503"},"products":["Brava! Desktop"],"published":"2021-08-03","related":[{"cvss_score":7.8,"headline":"Null dereference in Brava! Desktop","id":"CVE-2021-31503","kev_date_added":null,"published":"2021-08-03"},{"cvss_score":7.8,"headline":"Memory corruption in Brava! Desktop","id":"CVE-2021-31507","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.8,"headline":"Memory corruption in Brava! Desktop","id":"CVE-2021-31508","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.8,"headline":"Memory corruption in Brava! Desktop","id":"CVE-2021-31509","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.8,"headline":"Memory corruption in Brava! Desktop","id":"CVE-2021-31510","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.8,"headline":"Memory corruption in Brava! Desktop","id":"CVE-2021-31511","kev_date_added":null,"published":"2021-06-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-03","vendors":["OpenText"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening malicious PDF files in OpenText Brava! Desktop.","url":"https://insights.sbomify.com/CVE-2021-31504/"}