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

Fix secp256k1 possible use after free audit vulnerability #685

Merged
merged 1 commit into from Mar 27, 2023

Conversation

rodoufu
Copy link
Contributor

@rodoufu rodoufu commented Mar 24, 2023

Fixing possible use after free

cargo audit --ignore RUSTSEC-2020-0071
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 531 security advisories (from /Users/rodolfo-araujo/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (241 crate dependencies)
Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
Dependency tree:
atty 0.2.14
└── env_logger 0.9.3
    └── web3 0.19.0

Crate:     secp256k1
Version:   0.21.3
Warning:   unsound
Title:     Unsound API in `secp256k1` allows use-after-free and invalid deallocation from safe code
Date:      2022-11-30
ID:        RUSTSEC-2022-0070
URL:       https://rustsec.org/advisories/RUSTSEC-2022-0070
Dependency tree:
secp256k1 0.21.3
└── web3 0.19.0

warning: 2 allowed warnings found

@rodoufu
Copy link
Contributor Author

rodoufu commented Mar 27, 2023

Maybe you can take a look @tomusdrw
Thanks in advance

@tomusdrw tomusdrw merged commit eadfdd8 into tomusdrw:master Mar 27, 2023
5 checks passed
@tomusdrw
Copy link
Owner

Thanks!

@rodoufu rodoufu deleted the fix/useAfterFree branch March 27, 2023 20:50
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.

None yet

2 participants