{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3502 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3502 is a medium-severity denial of service vulnerability in avahi, published on 7 May 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3502 and fix it if it is affected.\n\nWhat it is: CVE-2021-3502 is a medium-severity denial of service vulnerability in avahi, published on 7 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3502 in the wild and no public exploit code.\n\nAffected product: avahi. 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-2021-3502/ (Markdown: https://insights.sbomify.com/CVE-2021-3502/index.md)","id":"CVE-2021-3502","markdown":"https://insights.sbomify.com/CVE-2021-3502/index.md","name":"CVE-2021-3502","record":{"aliases":["ALPINE-CVE-2021-3502","AZL-40943","CVE-2021-36217","DEBIAN-CVE-2021-3502","GHSA-mw7q-3wxj-rqfx","MGASA-2021-0339","UBUNTU-CVE-2021-3502"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Avahi mDNS responder","requires_auth":"low_privilege","summary":"A local attacker can crash the Avahi service by requesting hostname resolutions for invalid hostnames, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"avahi","vendor":"avahi"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"description":"A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.","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":"Denial of service in avahi","id":"CVE-2021-3502","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Metrics exposure in Wildfly","id":"CVE-2021-3503"},"packages":[],"prev":{"headline":"Memory corruption in kernel","id":"CVE-2021-3501"},"products":["avahi"],"published":"2021-05-07","related":[{"cvss_score":9.1,"headline":"Denial of service in n/a","id":"CVE-2017-6519","kev_date_added":null,"published":"2017-05-01"},{"cvss_score":7.8,"headline":"Path traversal in n/a","id":"CVE-2021-26720","kev_date_added":null,"published":"2021-02-17"},{"cvss_score":6.5,"headline":"Avahi has Uncontrolled Recursion in lookup_handle_cname function","id":"CVE-2026-24401","kev_date_added":null,"published":"2026-01-24"},{"cvss_score":6.5,"headline":"Avahi has a reachable assertion in lookup_multicast_callback","id":"CVE-2025-68468","kev_date_added":null,"published":"2026-01-12"},{"cvss_score":6.5,"headline":"Avahi has a reachable assertion in lookup_start","id":"CVE-2025-68471","kev_date_added":null,"published":"2026-01-12"},{"cvss_score":6.2,"headline":"Reachable assertion in avahi_dns_packet_append_record","id":"CVE-2023-38469","kev_date_added":null,"published":"2023-11-02"},{"cvss_score":6.2,"headline":"Reachable assertion in avahi_escape_label","id":"CVE-2023-38470","kev_date_added":null,"published":"2023-11-02"}],"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":"2024-08-03","vendors":["n/a"]},"summary":"A local attacker can crash the Avahi service by requesting hostname resolutions for invalid hostnames, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2021-3502/"}