{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-20657 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-20657 is a high-severity denial of service vulnerability in Gnu Binutils, published on 2 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-20657 and fix it if it is affected.\n\nWhat it is: CVE-2018-20657 is a high-severity denial of service vulnerability in Gnu Binutils, published on 2 Jan 2019. 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-2018-20657 in the wild and no public exploit code.\n\nAffected product: Gnu Binutils. 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-2018-20657/ (Markdown: https://insights.sbomify.com/CVE-2018-20657/index.md)","id":"CVE-2018-20657","markdown":"https://insights.sbomify.com/CVE-2018-20657/index.md","name":"CVE-2018-20657","record":{"aliases":["GHSA-qhfg-hc2h-mmfc","RHSA-2019:3352","UBUNTU-CVE-2018-20657"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU Binutils library","requires_auth":"none","summary":"A memory leak in GNU libiberty allows attackers to cause denial of service via crafted strings, impacting systems using Binutils.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"traffix_signaling_delivery_controller","vendor":"f5"},{"product":"binutils","vendor":"gnu"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-772","name":"Missing Release of Resource after Effective Lifetime"}],"description":"The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.","ecosystems":["Red Hat:enterprise_linux:8::appstream"],"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":"Denial of service in n/a","id":"CVE-2018-20657","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:binutils","products":["gnu:binutils"],"type":"denial_of_service","year":"2018"},"n_packages":6,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-20658"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb","purl":"pkg:rpm/redhat/gdb","source":"RHSA-2019:3352"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb-debuginfo","purl":"pkg:rpm/redhat/gdb-debuginfo","source":"RHSA-2019:3352"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb-debugsource","purl":"pkg:rpm/redhat/gdb-debugsource","source":"RHSA-2019:3352"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb-doc","purl":"pkg:rpm/redhat/gdb-doc","source":"RHSA-2019:3352"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb-gdbserver","purl":"pkg:rpm/redhat/gdb-gdbserver","source":"RHSA-2019:3352"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.2-6.el8"],"introduced":["0"],"last_affected":[],"package":"gdb-headless","purl":"pkg:rpm/redhat/gdb-headless","source":"RHSA-2019:3352"}],"prev":{"headline":"Memory corruption in WhatsApp Business for iOS","id":"CVE-2018-20655"},"products":["n/a"],"published":"2019-01-02","related":[{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2019-13050","kev_date_added":null,"published":"2019-06-29"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2015-5738","kev_date_added":null,"published":"2016-07-26"},{"cvss_score":5.5,"headline":"Denial of service in n/a","id":"CVE-2018-20002","kev_date_added":null,"published":"2018-12-10"},{"cvss_score":4.8,"headline":"Code injection in Traffix SDC","id":"CVE-2022-27662","kev_date_added":null,"published":"2022-05-05"},{"cvss_score":4.8,"headline":"Cross-site scripting in Traffix SDC","id":"CVE-2022-27880","kev_date_added":null,"published":"2022-05-05"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A memory leak in GNU libiberty allows attackers to cause denial of service via crafted strings, impacting systems using Binutils.","url":"https://insights.sbomify.com/CVE-2018-20657/"}