GitHub Advisoryadvisory · crates.io

GHSA-79wf-qcqv-r22r Remote code execution in better-macro

HIGH Published 2021-08-25 Modified 2021-08-18 Official page ↗
Aliases
CVE-2021-38196
Ecosystem
crates.io
Packages
better-macro
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78, CWE-94
Reviewed
2021-08-18

Affected packages

• crates.io better-macro: <= 1.0.4 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-38196 An issue was discovered in the better-macro crate through 2021-07-22 for Rust. vulnerability

Weakness · CWE (2)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
  • CWE-94 Improper Control of Generation of Code weakness

References