-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix CVE-2023-38497 for beta 1.72.0 #12442
Merged
bors
merged 4 commits into
rust-lang:rust-1.72.0
from
pietroalbini:pa-cve-2023-38497-beta
Aug 3, 2023
Merged
Fix CVE-2023-38497 for beta 1.72.0 #12442
bors
merged 4 commits into
rust-lang:rust-1.72.0
from
pietroalbini:pa-cve-2023-38497-beta
Aug 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is not secure and will be fixed in the next commit.
r? @weihanglo (rustbot has picked a reviewer for you, use r? to override) |
|
rustbot
added
A-registries
Area: registries
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Aug 3, 2023
@bors r+ |
bors
added
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Aug 3, 2023
bors
added a commit
that referenced
this pull request
Aug 3, 2023
Fix CVE-2023-38497 for beta 1.72.0 Changes have been made by `@weihanglo` and reviewed by `@ehuss` in a private repository.
weihanglo
approved these changes
Aug 3, 2023
💔 Test failed - checks-actions |
bors
added
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
and removed
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
labels
Aug 3, 2023
Without this, an attacker can leverage globally writable files buried in the `.crate` file. After a user downloaded and unpacked the file, the attacker can then write malicous code to the downloaded sources.
In 1.71, `.cargo-ok` changed to contain a JSON `{ v: 1 }` to indicate the version of it. A failure of parsing will result in a heavy-hammer approach that unpacks the `.crate` file again. This is in response to a security issue that the unpacking didn't respect umask on Unix systems.
weihanglo
force-pushed
the
pa-cve-2023-38497-beta
branch
from
August 3, 2023 13:08
e70fae6
to
6aa9859
Compare
@bors r+ |
bors
added
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Aug 3, 2023
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Aug 3, 2023
…nglo [beta-1.72] Update cargo (CVE-2023-38497 fix included) 1 commits in 11ffe0e500346b26e3de1ba115482b4da586dfac..44b6be4bdf2cd7d3f4d4cb266bfe428dfc2a7952 2023-07-30 20:44:11 +0000 to 2023-08-03 13:43:58 +0000 - Fix CVE-2023-38497 for beta 1.72.0 (rust-lang/cargo#12442) r? `@ghost`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-registries
Area: registries
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes have been made by @weihanglo and reviewed by @ehuss in a private repository.