Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability in the rsa (a recursive dependency of SeaORM) #2301

Open
baraknaveh opened this issue Jul 26, 2024 · 2 comments
Open

Vulnerability in the rsa (a recursive dependency of SeaORM) #2301

baraknaveh opened this issue Jul 26, 2024 · 2 comments

Comments

@baraknaveh
Copy link

Description

Dependabot complains on a vulnerability in rsa, a recursive dependency of SeaORM. This is a link to the issue: https://rustsec.org/advisories/RUSTSEC-2023-0071.html

Vulnerability location:

├── sea-orm v0.12.15
│   ├── sea-query-binder v0.5.0
│   │   ├── sqlx v0.7.4
│   │   │   ├── sqlx-mysql v0.7.4
│   │   │   │   ├── rsa v0.9.6       <-- Vulnerable

Steps to Reproduce

Run GitHub dependabot on the codebase.

Expected Behavior

No vulnerabilities

Actual Behavior

https://rustsec.org/advisories/RUSTSEC-2023-0071.html

Reproduces How Often

Always

Workarounds

🤷‍♂️

Reproducible Example

Marvin Attack Vulnerability

Versions

v0.12.15

@Expurple
Copy link
Contributor

Workarounds

🤷‍♂️

I believe, it should be possible to patch rsa to a compatible version with a security fix or patch sqlx-mysql to a compatible version that replaces rsa with another crate (if it's even possible?). Consider linking these versions, if they exist.

@ogtn
Copy link

ogtn commented Sep 24, 2024

Looking at the discussion on the RSA repo here RustCrypto/RSA#19, I'm not sure we can exect a fix in a short term.

The annoying thing is that it combines with a Cargo bug (#2172), so this vulnerability is reported by dependabot even when not using mysql.

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

No branches or pull requests

3 participants