Skip to content

Adds advisory for unsoundness in fragile #2258

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

Closed

Conversation

konnorandrews
Copy link

@konnorandrews konnorandrews commented Mar 24, 2025

See mitsuhiko/fragile#34

For reference, fragile has roughly 3 million downloads a month.

@djc
Copy link
Contributor

djc commented Mar 24, 2025

@mitsuhiko thoughts about adding an advisory for this?


[versions]
patched = []
unaffected = ["1.2.2"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only version that is unaffected? Generally we have version ranges here. Also from the linked issue it's not obvious which versions are actually affected so I'm not sure how you came up with this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All other versions in the 1.0 series have been yanked previously for unsoundness. Checking again 1.2.2 is also affected since it uses fragile 2.0.0 and does have a slab feature of its own which I missed originally.

@mitsuhiko
Copy link
Contributor

This only affects the slab based version of fragile which from what I can tell is not really used. I would prefer that discussion is had in fragile itself and not here. As far as I can tell there is very little urgency here. I rather remove the slab based implementation.

Generally why is this not handled as an issue against fragile?

@djc
Copy link
Contributor

djc commented Mar 25, 2025

@mitsuhiko the OP links an issue in fragile from August 2023, which was last updated (by you) in January 2024. If the unsoundness is going to go unaddressed, I think an advisory might be helpful to point this out to downstream users (but we would not publish it without your consent).

@mitsuhiko
Copy link
Contributor

mitsuhiko commented Mar 25, 2025

Well I have an issue with this advisory because rather than engaging on the issue tracker, this is now forcing me as a maintainer to do something to avoid this. I did not receive either mail or a comment that anyone cares about this. Instead an advisory is proposed which talks about moving to another crate entirely, one which hasn't even been updated in three years.

I find this entire process quite frustrating to be honest.

@djc
Copy link
Contributor

djc commented Mar 25, 2025

@mitsuhiko no problem, I'll close this PR for now -- @konnorandrews recommend you first engage on the original issue. Feel free to resubmit an advisory PR if there is agreement that an issue exists and a fix has been released.

@djc djc closed this Mar 25, 2025
@mitsuhiko
Copy link
Contributor

2.0.1 has been released with a fix for the slab feature.

@djc
Copy link
Contributor

djc commented Mar 25, 2025

Awesome. So do you think it makes sense to have an advisory for earlier releases, then?

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.

3 participants