GHSA-hhw4-xg65-fp2x serde_yml crate is unsound and unmaintained
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
Using serde_yml::ser::Serializer.emitter can cause a segmentation fault, which is unsound.
The GitHub project for serde_yml was archived after unsoundness issues were raised.
If you rely on this crate, it is highly recommended switching to a maintained alternative.
Recommended alternatives
serde_norway- Maintained fork ofserde_yaml, usingunsafe-libyaml-norwayserde_yaml_ng- Maintained fork ofserde_yaml, using unmaintainedunsafe-libyaml
Incomplete pure Rust alternatives
These implementation do not rely on C libyaml.
Upgrade path
1 package: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io serde_yml(crates.io) | <= 0.0.12; >= 0.0.0-0 | after 0.0.12 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io serde_yml(crates.io) | <= 0.0.12 | No fix listed |
| crates.io serde_yml(crates.io) | >= 0.0.0-0 | No fix listed |
References
- github.com issue-tracking
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com