CVE-2023-50658
jose2go vulnerable to denial of service via large p2c value
Reported by mitre · Published December 25, 2023
github.com/dvsekhvalnov/jose2go is fixed in 1.6.0 and 1.5.1-0.20231206184617-48ba0b76bc88 (Go Modules)
The jose2go component before 1.6.0 for Go allows attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/dvsekhvalnov/jose2go | Go Modules | 1.6.0, 1.5.1-0.20231206184617-48ba0b76bc88 |
| telegraf-1.29 | Chainguard | 1.29.1-r1 |
| telegraf-1.28 | Chainguard | 1.28.5-r4 |
| telegraf-1.26 | Chainguard | 1.26.3-r11 |
| telegraf-1.27 | Wolfi | 1.27.4-r11 |
| jitsucom-bulker | Chainguard | 2.6.0-r2 |
| telegraf-1.29 | Wolfi | 1.29.1-r1 |
| telegraf-1.27 | Chainguard | 1.27.4-r11 |
| telegraf-1.26 | Wolfi | 1.26.3-r11 |
| vault-1.13 | Chainguard | 1.13.12-r1 |
| jitsucom-bulker | Wolfi | 2.6.0-r2 |
| vault-1.13 | Wolfi | 1.13.12-r1 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| chainguard | telegraf-1.29 | 0 |
| chainguard | telegraf-1.28 | 0 |
| chainguard | telegraf-1.26 | 0 |
| wolfi | telegraf-1.27 | 0 |
| chainguard | jitsucom-bulker | 0 |
| github.com | dvsekhvalnov/jose2go | 0 |
| wolfi | telegraf-1.29 | 0 |
| chainguard | telegraf-1.27 | 0 |
| wolfi | telegraf-1.26 | 0 |
| chainguard | vault-1.13 | 0 |
| wolfi | jitsucom-bulker | 0 |
| wolfi | vault-1.13 | 0 |
| chainguard | vault-fips-1.14 | 0 |
| wolfi | telegraf-1.28 | 0 |
| n/a | n/a | * |
Timeline
- Dec 20, 2023 CVE Published
- Dec 26, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (8 in total, the first dated here)
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-50658
vulnetix vdb fixes CVE-2023-50658
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-50658/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-50658 advisory
- https://github.com/advisories/GHSA-6294-6rgp-fr7r advisory
- https://github.com/dvsekhvalnov/jose2go/issues/31 url
- https://github.com/dvsekhvalnov/jose2go url
- https://pkg.go.dev/vuln/GO-2023-2409 url
- https://www.blackhat.com/us-23/briefings/schedule/#three-new-attacks-against-json-web-tokens-31695 url