Skip to content

Conversation

@alexanderkjall
Copy link
Contributor

Information taken from: https://nvd.nist.gov/vuln/detail/CVE-2024-58253

@CasualX Is it ok if this is added to rustsec?

@CasualX
Copy link

CasualX commented Dec 24, 2025

Sure? If you think it has value.

Let's be clear here: With this bug you can exploit your own source code to trigger UB (invalid conversion of [u8] to str). Debug assertions perform a check to catch bugs. You cannot use this macro on runtime/user data, it must be a compile time constant.

Not exactly going to hack the pentagon with this one...

@djc
Copy link
Contributor

djc commented Dec 24, 2025

Please drop the CVE URL and use the first-party issue as the primary URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants