GHSA-g433-pq76-6cmf Bug fixes in hpke-rs, hpke-rs-rust-crypto
HighCVSS 8.2
- Published
- Updated
- Exploit status
- No public exploit known
Description
We publish a GitHub security advisory for any releases whose CHANGELOG includes bug-fixes, and encourage our users to upgrade. The latest releases of the hpke-rs and hpke-rs-rust-crypto crates contain the following bug-fixes:
hpke-rs
- #127: Fix
KemAlgorithm::TryFrom<u16>mapping where0x004Dincorrectly resolved toXWingDraft06instead ofXWingDraft06Obsolete. - #123: Fix potential overflow in context counter and switch to use u64.
- #128: Return errors when trying to use open/seal with export only ciphersuite and when using kdf export with an output that's too long (instead of truncating it)
The issue fixed in #123 was first reported by Nadim Kobeissi.
The issues fixed in #127 and #128 were first reported by Scott Arciszewski.
hpke-rs-rust-crypto
- #124: Error out on x25519 0 keys
The issue fixed in #124 was first reported by Nadim Kobeissi.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io hpke-rs(crates.io) | < 0.6.0; >= 0.0.0-0, < 0.6.0 | 0.6.0 | Fixed |
| crates.io hpke-rs-rust-crypto(crates.io) | < 0.6.0; >= 0.0.0-0, < 0.6.0 | 0.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io hpke-rs(crates.io) | < 0.6.0 | 0.6.0 |
| crates.io hpke-rs-rust-crypto(crates.io) | < 0.6.0 | 0.6.0 |
| crates.io hpke-rs(crates.io) | >= 0.0.0-0, < 0.6.0 | 0.6.0 |
| crates.io hpke-rs-rust-crypto(crates.io) | >= 0.0.0-0, < 0.6.0 | 0.6.0 |
References
- github.com vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- rustsec.org vendor-advisory
- crates.io product
- rustsec.org vendor-advisory
- rustsec.org vendor-advisory
- crates.io product
- github.com