rebuild packages with cxx v1.0.195+ to address RUSTSEC-2026-0202 #36
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rust/backlog#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is a recently published RUSTSEC advisory for the cxx crate:
https://rustsec.org/advisories/RUSTSEC-2026-0202.html
I am builing v1.0.197 for all Fedora and EPEL branches now, but applications would need to be rebuilt to pick up the fix for this issue.
For Rawhide / F45+, the mass rebuild will take care of the rebuild. It is unclear to me whether this issue is significant enough to warrant rebuilding affected applications in stable branches too (potentially affected - I have not checked whether they use the affected API):
For now,
gnstill doesn’t compile any Rust code, and uses only a C++ header from thecxxcrate, so it will not be affected.It’s hard to evaluate what might actually be used from a typical application, since usage can be so indirect and implicit. For example, the sole explicit use of
cxxincxx-rust-cxxparseris:None of these applications is co-maintained by
rust-sig, so we can’t rebuild them without invoking provenpackager privilege, which generally ought to require some effort to coordinate with maintainers and get consent or at least notify them in advance.Maybe the best thing to do in a case like this would just be to file bugs against the applications, linking this issue and/or the RUSTSEC advisory, and saying: this package uses the cxx crate, but we aren’t sure if it uses the affected API. If it’s affected by the issue, you can fix it by simply rebuilding it. Kind of like the prodsec security bugs, but more carefully targeted and helpful.
Some packages were rebuilt recently enough to have used the fixed
cxxcrate in some branches. Only one was rebuilt in all potentially-affected branches.cxxcrate.Hmm, in the above comment I was only considering Bodhi updates to decide what was rebuilt recently enough. If I claimed a package was not rebuilt in F45+, it was probably actually rebuilt in the F45 mass rebuild, which doesn’t produce a Bodhi update.