{ "id": "CVE-2021-38196", "sourceIdentifier": "cve@mitre.org", "published": "2021-08-08T06:15:09.153", "lastModified": "2021-08-16T16:50:14.587", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "An issue was discovered in the better-macro crate through 2021-07-22 for Rust. It intentionally demonstrates that remote attackers can execute arbitrary code via proc-macros, and otherwise has no legitimate purpose." }, { "lang": "es", "value": "Se ha detectado un problema en la crate better-macro versiones hasta 22-07-2021 para Rust. Demuestra intencionalmente que atacantes remotos pueden ejecutar c\u00f3digo arbitrario por medio de proc-macros, y por lo dem\u00e1s no presente ning\u00fan prop\u00f3sito leg\u00edtimo" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-94" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:better-macro_project:better-macro:*:*:*:*:*:rust:*:*", "versionEndIncluding": "2021-07-22", "matchCriteriaId": "81A23D34-84C9-4F39-B0FF-1FA971D64257" } ] } ] } ], "references": [ { "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://rustsec.org/advisories/RUSTSEC-2021-0077.html", "source": "cve@mitre.org", "tags": [ "Exploit", "Issue Tracking", "Patch", "Third Party Advisory" ] } ] }