fix(nexus): upgrade jsonparser to v1.1.2 to fix DoS vulnerability#3377
fix(nexus): upgrade jsonparser to v1.1.2 to fix DoS vulnerability#3377michaeljguarino merged 1 commit intomasterfrom
Conversation
Fixes a Denial of Service vulnerability (CVE) in jsonparser where the Delete function fails to properly validate offsets when processing malformed JSON input, which can lead to a negative slice index and a runtime panic. Affected image: ghcr.io/pluralsh/nexus:0.12.9
There was a problem hiding this comment.
This PR was generated by the claude (engine: claude) agent runtime. Here's some useful information you might want to know to evaluate
the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Security scanners have found the following vulnerability in our cluster:... |
| 🔗 Run history | View run history |
Greptile SummaryThis PR upgrades the indirect dependency
Confidence Score: 5/5This PR is safe to merge — it is a targeted, minimal security patch with no logic changes. The change touches only two dependency-management files (go.mod and go.sum), upgrades a single indirect library by one patch version, and the new checksums match the official upstream release. No application logic is modified, and no other dependencies are affected. No files require special attention.
|
| Filename | Overview |
|---|---|
| go/nexus/go.mod | Bumps github.com/buger/jsonparser indirect dependency from v1.1.1 to v1.1.2 to address the DoS vulnerability (CVE-2020-10675 / GO-2021-0057) |
| go/nexus/go.sum | Updates the module hash for buger/jsonparser to the v1.1.2 digest; the go.mod-only hash is unchanged (expected for a patch release that doesn't alter go.mod) |
Reviews (1): Last reviewed commit: "fix(nexus): upgrade github.com/buger/jso..." | Re-trigger Greptile
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
github.com/buger/jsonparserfrom v1.1.1 to v1.1.2ghcr.io/pluralsh/nexus:0.12.9Changes
go/nexus/go.modto use jsonparser v1.1.2go/nexus/go.sumwith new dependency checksumsVerification