{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1536 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-1536 is a critical vulnerability in n/a, published on 20 Mar 2007. 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-2007-1536 and fix it if it is affected.\n\nWhat it is: CVE-2007-1536 is a critical vulnerability in n/a, published on 20 Mar 2007. 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1536 exists.\n\nAffected product: n/a. 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-2007-1536/ (Markdown: https://insights.sbomify.com/CVE-2007-1536/index.md)","id":"CVE-2007-1536","markdown":"https://insights.sbomify.com/CVE-2007-1536/index.md","name":"CVE-2007-1536","record":{"aliases":["DEBIAN-CVE-2007-1536","DSA-1274-1","GHSA-h28w-vfj4-vh5j","RHSA-2007:0124"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"file utility","requires_auth":"none","summary":"An integer underflow in the file utility allows attackers to execute arbitrary code via a crafted file, requiring user interaction to open the malicious file.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"file","vendor":"file"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-189","name":null}],"description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":1,"first_seen":"2007-03-19","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-03-19","kind":"exploitdb","ref":"29753","stars":null,"title":"File(1) 4.13 - Command File_PrintF Integer Underflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2007-1536","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2007"},"n_packages":12,"n_references":43,"next":{"headline":"Denial of service in n/a","id":"CVE-2007-1537"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.10-3.EL4.5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.17-9.el5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.17-9.el5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.17-9.el5"],"introduced":["0"],"last_affected":[],"package":"file","purl":"pkg:rpm/redhat/file","source":"RHSA-2007:0124"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.17-9.el5"],"introduced":["0"],"last_affected":[],"package":"file-debuginfo","purl":"pkg:rpm/redhat/file-debuginfo","source":"RHSA-2007:0124"}],"prev":{"headline":"Misconfiguration in n/a","id":"CVE-2007-1535"},"products":["n/a"],"published":"2007-03-20","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-1304","kev_date_added":null,"published":"2004-12-22"},{"cvss_score":5.1,"headline":"Integer overflow in n/a","id":"CVE-2007-2799","kev_date_added":null,"published":"2007-05-23"},{"cvss_score":4.6,"headline":"Memory corruption in n/a","id":"CVE-2003-0102","kev_date_added":null,"published":"2004-09-01"}],"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":"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"An integer underflow in the file utility allows attackers to execute arbitrary code via a crafted file, requiring user interaction to open the malicious file.","url":"https://insights.sbomify.com/CVE-2007-1536/"}