forked from crossplane/crossplane
-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update module github.com/go-jose/go-jose/v3 to v3.0.3 [security] (release-1.13) #315
Open
phisco-renovate
wants to merge
1
commit into
release-1.13
Choose a base branch
from
renovate/release-1.13-go-github.com-go-jose-go-jose-v3-vulnerability
base: release-1.13
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
v3.0.0
->v3.0.3
Decryption of malicious PBES2 JWE objects can consume unbounded system resources
GHSA-2c7c-3mj9-8fqh / GO-2023-2334
More information
Details
The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.
Severity
Moderate
References
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Denial of service via decryption of malicious PBES2 JWE objects in github.com/go-jose/go-jose/v3
GHSA-2c7c-3mj9-8fqh / GO-2023-2334
More information
Details
The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
Decompression bomb vulnerability in github.com/go-jose/go-jose
CGA-9vf9-m4f8-6392 / CGA-9vg5-h493-cxr7 / CGA-chh8-vhg4-2qj7 / CGA-g5hx-8r47-pf39 / CGA-hmfp-f3v3-528v / CGA-hrqx-74pg-5m88 / CGA-m474-c57g-8945 / CGA-r356-23m2-5p37 / CGA-v3wf-pwmr-vcw5 / CGA-w52c-j6q8-cf23 / CGA-w7jq-8v28-882j / CVE-2024-28180 / GHSA-c5q2-7r4c-mv6g / GO-2024-2631
More information
Details
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.
Severity
Unknown
References
This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).
Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)
CGA-9vf9-m4f8-6392 / CGA-9vg5-h493-cxr7 / CGA-chh8-vhg4-2qj7 / CGA-g5hx-8r47-pf39 / CGA-hmfp-f3v3-528v / CGA-hrqx-74pg-5m88 / CGA-m474-c57g-8945 / CGA-r356-23m2-5p37 / CGA-v3wf-pwmr-vcw5 / CGA-w52c-j6q8-cf23 / CGA-w7jq-8v28-882j / CVE-2024-28180 / GHSA-c5q2-7r4c-mv6g / GO-2024-2631
More information
Details
Impact
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). Thanks to Enze Wang@Alioth and Jianjun Chen@Zhongguancun Lab (@zer0yu and @chenjj) for reporting.
Patches
The problem is fixed in the following packages and versions:
The problem will not be fixed in the following package because the package is archived:
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
go-jose/go-jose (github.com/go-jose/go-jose/v3)
v3.0.3
: Version 3.0.3Compare Source
Fixed
v3.0.2
Compare Source
Fixed
Changed
Added
v3.0.1
Compare Source
Fixed
JSONWebEncryption.Decrypt and JSONWebEncryption.DecryptMulti to consume large
amounts of CPU, causing a DoS. Thanks to Matt Schwager (@mschwager) for the
disclosure and to Tom Tervoort for originally publishing the category of attack.
https://i.blackhat.com/BH-US-23/Presentations/US-23-Tervoort-Three-New-Attacks-Against-JSON-Web-Tokens.pdf
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.