{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-40799 in the wild since at least 5 Aug 2025.","fix":"No fix has been published for CVE-2022-40799 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 26 Aug 2025.","what":"CVE-2022-40799 is a high-severity command injection vulnerability in n/a, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40799 and fix it if it is affected.\n\nWhat it is: CVE-2022-40799 is a high-severity command injection vulnerability in n/a, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-40799 in the wild since at least 5 Aug 2025.\n\nAffected product: n/a. 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-40799/ (Markdown: https://insights.sbomify.com/CVE-2022-40799/index.md)","id":"CVE-2022-40799","markdown":"https://insights.sbomify.com/CVE-2022-40799/index.md","name":"CVE-2022-40799","record":{"aliases":["GHSA-xh8c-gmc9-9v6x"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link Network Recorder","requires_auth":"low_privilege","summary":"An authenticated attacker can execute OS-level commands on D-Link DNR-322L devices via a data integrity failure in the Backup Config feature.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dnr-322l_firmware","vendor":"dlink"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-494","name":"Download of Code Without Integrity Check"}],"description":"Data Integrity Failure in 'Backup Config' in D-Link DNR-322L \u003c= 2.60B15 allows an authenticated attacker to execute OS level commands on the device.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"D-Link DNR-322L Download of Code Without Integrity Check","id":"CVE-2022-40799","indexable":true,"kev":{"dateAdded":"2025-08-05","dueDate":"2025-08-26","knownRansomwareCampaignUse":"Unknown","product":"DNR-322L","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"D-Link","vulnerabilityName":"D-Link DNR-322L Download of Code Without Integrity Check Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Supply chain in n/a","id":"CVE-2022-40805"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2022-40798"},"products":["n/a"],"published":"2022-11-29","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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"An authenticated attacker can execute OS-level commands on D-Link DNR-322L devices via a data integrity failure in the Backup Config feature.","url":"https://insights.sbomify.com/CVE-2022-40799/"}