{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-7476 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-7476 is a critical memory corruption vulnerability in Gnulib before 2017-04-26, published on 2 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-7476 and fix it if it is affected.\n\nWhat it is: CVE-2017-7476 is a critical memory corruption vulnerability in Gnulib before 2017-04-26, published on 2 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-7476 in the wild and no public exploit code.\n\nAffected product: Gnulib before 2017-04-26. 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-2017-7476/ (Markdown: https://insights.sbomify.com/CVE-2017-7476/index.md)","id":"CVE-2017-7476","markdown":"https://insights.sbomify.com/CVE-2017-7476/index.md","name":"CVE-2017-7476","record":{"aliases":["GHSA-m9rq-c483-gg38","openSUSE-SU-2024:10694-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Gnulib library","requires_auth":"none","summary":"A heap-based buffer overflow in Gnulib's time handling allows attackers to execute arbitrary code or cause denial of service via the TZ environment variable.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"gnulib","vendor":"gnulib"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Gnulib before 2017-04-26 has a heap-based buffer overflow with the TZ environment variable. The error is in the save_abbr function in time_rz.c.","ecosystems":["openSUSE:Tumbleweed"],"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 Gnulib before 2017-04-26","id":"CVE-2017-7476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2017"},"n_packages":1,"n_references":5,"next":{"headline":"Memory corruption in Linux kernel","id":"CVE-2017-7477"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["8.32-8.5"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/opensuse/coreutils\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10694-1"}],"prev":{"headline":"cairo is vulnerable to denial of service due to a null pointer dereference","id":"CVE-2017-7475"},"products":["Gnulib before 2017-04-26"],"published":"2017-05-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-05","vendors":["n/a"]},"summary":"A heap-based buffer overflow in Gnulib's time handling allows attackers to execute arbitrary code or cause denial of service via the TZ environment variable.","url":"https://insights.sbomify.com/CVE-2017-7476/"}