{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2004-0941 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0941 is a critical memory corruption vulnerability in Trustix Secure Linux, published on 19 Nov 2004. 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-2004-0941 and fix it if it is affected.\n\nWhat it is: CVE-2004-0941 is a critical memory corruption vulnerability in Trustix Secure Linux, published on 19 Nov 2004. 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-2004-0941 in the wild and no public exploit code.\n\nAffected product: Trustix Secure Linux. 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-2004-0941/ (Markdown: https://insights.sbomify.com/CVE-2004-0941/index.md)","id":"CVE-2004-0941","markdown":"https://insights.sbomify.com/CVE-2004-0941/index.md","name":"CVE-2004-0941","record":{"aliases":["DEBIAN-CVE-2004-0941","GHSA-5jw2-pr8r-5fc7","RHSA-2006:0194"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"libgd graphics library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening malformed image files processed by the libgd library.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gdlib","vendor":"gd_graphics_library"},{"product":"secure_linux","vendor":"trustix"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via malformed image files that trigger the overflows due to improper calls to the gdMalloc function, a different set of vulnerabilities than CVE-2004-0990.","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"],"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":"Memory corruption in n/a","id":"CVE-2004-0941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"trustix:secure_linux","products":["trustix:secure_linux"],"type":"memory_corruption","year":"2004"},"n_packages":16,"n_references":18,"next":{"headline":"Denial of service in n/a","id":"CVE-2004-0942"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd","purl":"pkg:rpm/redhat/gd","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-debuginfo","purl":"pkg:rpm/redhat/gd-debuginfo","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-devel","purl":"pkg:rpm/redhat/gd-devel","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-progs","purl":"pkg:rpm/redhat/gd-progs","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd","purl":"pkg:rpm/redhat/gd","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-debuginfo","purl":"pkg:rpm/redhat/gd-debuginfo","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-devel","purl":"pkg:rpm/redhat/gd-devel","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-progs","purl":"pkg:rpm/redhat/gd-progs","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd","purl":"pkg:rpm/redhat/gd","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-debuginfo","purl":"pkg:rpm/redhat/gd-debuginfo","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-devel","purl":"pkg:rpm/redhat/gd-devel","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-progs","purl":"pkg:rpm/redhat/gd-progs","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd","purl":"pkg:rpm/redhat/gd","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-debuginfo","purl":"pkg:rpm/redhat/gd-debuginfo","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-devel","purl":"pkg:rpm/redhat/gd-devel","source":"RHSA-2006:0194"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.28-4.4E.1"],"introduced":["0"],"last_affected":[],"package":"gd-progs","purl":"pkg:rpm/redhat/gd-progs","source":"RHSA-2006:0194"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-0940"},"products":["n/a"],"published":"2004-11-19","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2004-0990","kev_date_added":null,"published":"2004-10-28"},{"cvss_score":4.3,"headline":"Denial of service in n/a","id":"CVE-2007-3475","kev_date_added":null,"published":"2007-06-28"},{"cvss_score":4.3,"headline":"Integer overflow in n/a","id":"CVE-2007-3476","kev_date_added":null,"published":"2007-06-28"},{"cvss_score":4.3,"headline":"Race condition in n/a","id":"CVE-2007-3478","kev_date_added":null,"published":"2007-06-28"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening malformed image files processed by the libgd library.","url":"https://insights.sbomify.com/CVE-2004-0941/"}