{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2022-21742 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-21742 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21742 is a medium-severity memory corruption vulnerability in Realtek USB FE/1GbE/2.5GbE/5GbE NIC Family, published on 20 Jun 2022. 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-2022-21742 and fix it if it is affected.\n\nWhat it is: CVE-2022-21742 is a medium-severity memory corruption vulnerability in Realtek USB FE/1GbE/2.5GbE/5GbE NIC Family, published on 20 Jun 2022. 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-2022-21742 in the wild and no public exploit code.\n\nAffected product: Realtek USB FE/1GbE/2.5GbE/5GbE NIC Family. 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-2022-21742/ (Markdown: https://insights.sbomify.com/CVE-2022-21742/index.md)","id":"CVE-2022-21742","markdown":"https://insights.sbomify.com/CVE-2022-21742/index.md","name":"CVE-2022-21742","record":{"aliases":["GHSA-5rv3-34jj-v83f"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Realtek USB NIC","requires_auth":"none","summary":"An unauthenticated LAN attacker can cause a buffer overflow in Realtek USB NIC drivers, leading to service disruption.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"twcert","cpe":[{"product":"rtl8152b_firmware","vendor":"realtek"},{"product":"rtl8153_firmware","vendor":"realtek"},{"product":"rtl8153b_firmware","vendor":"realtek"},{"product":"rtl8154_firmware","vendor":"realtek"},{"product":"rtl8154b_firmware","vendor":"realtek"},{"product":"rtl8156_firmware","vendor":"realtek"},{"product":"rtl8156b_firmware","vendor":"realtek"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"Realtek USB driver has a buffer overflow vulnerability due to insufficient parameter length verification in the API function. An unauthenticated LAN attacker can exploit this vulnerability to disrupt services.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Realtek USB FE/1GbE/2.5GbE/5GbE NIC Family - Buffer Overflow","id":"CVE-2022-21742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Use after free in MT6580, MT6735, MT6737, MT6739, MT6750, MT6750S, MT6753, MT6757, MT6757C, MT6757CD, MT6757CH, MT6761, MT6762, MT6763, MT6765, MT6768, MT6769, MT6771, MT6779, MT6781, MT6785, MT6797, MT6833, MT6853, MT6853T, MT6873, MT6875, MT6877, MT6883, MT6885, MT6889, MT6893, MT8167, MT8168, MT8173, MT8185, MT8321, MT8362A, MT8365, MT8385, MT8666, MT8675, MT8695, MT8696, MT8765, MT8766, MT8768, MT8786, MT8788, MT8789, MT8791, MT8797","id":"CVE-2022-21743"},"packages":[],"prev":{"headline":"Division by zero in TFLite","id":"CVE-2022-21741"},"products":["USB FE/1GbE/2.5GbE/5GbE NIC Family"],"published":"2022-06-20","related":[],"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-09-17","vendors":["Realtek"]},"summary":"An unauthenticated LAN attacker can cause a buffer overflow in Realtek USB NIC drivers, leading to service disruption.","url":"https://insights.sbomify.com/CVE-2022-21742/"}