{"answers":{"affected":"2 open source packages ship an affected version, including macaddress. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-13797 in the wild and no public exploit code.","fix":"Upgrade macaddress to 0.2.9 or later.","what":"CVE-2018-13797 is a critical vulnerability in n/a, published on 10 Jul 2018."},"fix_prompt":"Check this codebase for CVE-2018-13797 and fix it if it is affected.\n\nWhat it is: CVE-2018-13797 is a critical vulnerability in n/a, published on 10 Jul 2018. \nExploitation: There is no known exploitation of CVE-2018-13797 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- macaddress (npm): affected all versions; fixed in 0.2.9\n- macaddress (npm): affected all versions; fixed in 0.2.9\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-13797/ (Markdown: https://insights.sbomify.com/CVE-2018-13797/index.md)","id":"CVE-2018-13797","markdown":"https://insights.sbomify.com/CVE-2018-13797/index.md","name":"CVE-2018-13797","record":{"aliases":["DEBIAN-CVE-2018-13797","GHSA-pp57-mqmh-44h7","UBUNTU-CVE-2018-13797"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"node-macaddress","vendor":"node-macaddress_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2021-01-05","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-01-05T18:56:56Z","kind":"github_poc","ref":"https://github.com/dsp-testing/CVE-2018-13797","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Command Injection in macaddress","id":"CVE-2018-13797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2018"},"n_packages":2,"n_references":4,"next":{"headline":"Denial of service in SICAM A8000 CP-8000, SICAM A8000 CP-802X, SICAM A8000 CP-8050","id":"CVE-2018-13798"},"packages":[{"ecosystem":"npm","fixed":["0.2.9"],"introduced":["0"],"last_affected":[],"package":"macaddress","purl":null,"source":"GHSA-pp57-mqmh-44h7"},{"ecosystem":"npm","fixed":["0.2.9"],"introduced":["0"],"last_affected":[],"package":"macaddress","purl":"pkg:npm/macaddress","source":"GHSA-pp57-mqmh-44h7"}],"prev":{"headline":"Moderate severity vulnerability that affects mailman","id":"CVE-2018-13796"},"products":["n/a"],"published":"2018-07-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2018-13797/"}