Read the docs
TI-2022-26594 Aliases GHSA-jmwx-r3gq-qq3p

vec-const attempts to construct a Vec from a pointer to a const slice

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Affected versions of this crate claimed to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator. The implementation was later changed to just construct a `std::borrow::Cow`.

Why it matters now

Fix Fixed vec-const (crates.io): 2.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—vec-const (crates.io)before 2.0.02.0.0Patch availableGHSA-jmwx-r3gq-qq3p
  • vec-const (crates.io) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-jmwx-r3gq-qq3p

Remediation

  • Fix · GHSA-jmwx-r3gq-qq3p vec-const (crates.io) Fixed in 2.0.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-jmwx-r3gq-qq3p

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences