{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2020-25685 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-25685 is a low-severity vulnerability in Debian Debian Linux, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-25685 and fix it if it is affected.\n\nWhat it is: CVE-2020-25685 is a low-severity vulnerability in Debian Debian Linux, published on 20 Jan 2021. 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-2020-25685 in the wild and no public exploit code.\n\nAffected product: Debian Debian 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-2020-25685/ (Markdown: https://insights.sbomify.com/CVE-2020-25685/index.md)","id":"CVE-2020-25685","markdown":"https://insights.sbomify.com/CVE-2020-25685/index.md","name":"CVE-2020-25685","record":{"aliases":["ALPINE-CVE-2020-25685","CLEANSTART-2026-CW75331","DEBIAN-CVE-2020-25685","GHSA-9gxq-wfg7-72x4","UBUNTU-CVE-2020-25685"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"DNS forwarder","requires_auth":"none","summary":"An off-path attacker can forge DNS replies due to weak hashing, enabling cache poisoning attacks against dnsmasq users.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"eos","vendor":"arista"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"dnsmasq","vendor":"thekelleys"}],"cvss":{"score":3.7,"severity":"low","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"description":"A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.","ecosystems":[],"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":"Other in dnsmasq","id":"CVE-2020-25685","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"other","year":"2020"},"n_packages":0,"n_references":7,"next":{"headline":"Other in dnsmasq","id":"CVE-2020-25686"},"packages":[],"prev":{"headline":"Other in dnsmasq","id":"CVE-2020-25684"},"products":["dnsmasq"],"published":"2021-01-20","related":[{"cvss_score":6.9,"headline":"Arista Extensible Operating System Incomplete Comparison with Missing Factors","id":"CVE-2026-7473","kev_date_added":"2026-06-09","published":"2026-06-05"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2015-8236","kev_date_added":null,"published":"2015-11-19"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2020-10188","kev_date_added":null,"published":"2020-03-06"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2017-18017","kev_date_added":null,"published":"2018-01-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-14491","kev_date_added":null,"published":"2017-10-02"},{"cvss_score":9.3,"headline":"Privilege escalation in Arista EOS","id":"CVE-2023-24509","kev_date_added":null,"published":"2023-04-13"},{"cvss_score":9.3,"headline":"Information disclosure in n/a","id":"CVE-2015-5165","kev_date_added":null,"published":"2015-08-12"}],"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":"2025-11-04","vendors":["n/a"]},"summary":"An off-path attacker can forge DNS replies due to weak hashing, enabling cache poisoning attacks against dnsmasq users.","url":"https://insights.sbomify.com/CVE-2020-25685/"}