RUSTSEC-2021-0077

Source
https://rustsec.org/advisories/RUSTSEC-2021-0077
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0077.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0077
Aliases
Published
2021-07-22T12:00:00Z
Modified
2023-11-08T04:06:26.288170Z
Summary
`better-macro` has deliberate RCE to prove a point
Details

better-macro is a fake crate which is "Proving A Point" that proc-macros can run arbitrary code. This is not a particularly novel or interesting observation.

It currently opens https://github.com/raycar5/better-macro/blob/master/doc/hi.md which doesn't appear to have any malicious content, but there's no guarantee that will remain the case.

This crate has no useful functionality, and should not be used.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / better-macro

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "better_macro::println"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "code-execution"
    ]
}