Skip to content

Commit 6a1cecb

Browse files
authored
fix(deps): Update module github.com/buger/jsonparser to v1.1.2 [SECURITY] (#722)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/buger/jsonparser](https://redirect.github.com/buger/jsonparser) | `v1.1.1` → `v1.1.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbuger%2fjsonparser/v1.1.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbuger%2fjsonparser/v1.1.1/v1.1.2?slim=true) | ### GitHub Vulnerability Alerts #### [GHSA-6g7g-w4f8-9c9x](https://redirect.github.com/buger/jsonparser/issues/275) The Delete function fails to properly validate offsets when processing malformed JSON input. This can lead to a negative slice index and a runtime panic, allowing a denial of service attack. --- ### Release Notes <details> <summary>buger/jsonparser (github.com/buger/jsonparser)</summary> ### [`v1.1.2`](https://redirect.github.com/buger/jsonparser/releases/tag/v1.1.2) [Compare Source](https://redirect.github.com/buger/jsonparser/compare/v1.1.1...v1.1.2) #### What's Changed - Updated travis to build for 1.13 to 1.15 by [@&#8203;janreggie](https://redirect.github.com/janreggie) in [#&#8203;225](https://redirect.github.com/buger/jsonparser/pull/225) - - eliminate 2 allocations in EachKey() by [@&#8203;Villenny](https://redirect.github.com/Villenny) in [#&#8203;223](https://redirect.github.com/buger/jsonparser/pull/223) - fix issue [#&#8203;150](https://redirect.github.com/buger/jsonparser/issues/150) (in deleting case) by [@&#8203;daria-kay](https://redirect.github.com/daria-kay) in [#&#8203;226](https://redirect.github.com/buger/jsonparser/pull/226) - fixing the oss-fuzz issue by [@&#8203;daria-kay](https://redirect.github.com/daria-kay) in [#&#8203;227](https://redirect.github.com/buger/jsonparser/pull/227) - Fix parseInt overflow check false negative by [@&#8203;carsonip](https://redirect.github.com/carsonip) in [#&#8203;231](https://redirect.github.com/buger/jsonparser/pull/231) - Added bespoke error for null cases by [@&#8203;jonomacd](https://redirect.github.com/jonomacd) in [#&#8203;228](https://redirect.github.com/buger/jsonparser/pull/228) - Fuzzing: Add CIFuzz by [@&#8203;AdamKorcz](https://redirect.github.com/AdamKorcz) in [#&#8203;239](https://redirect.github.com/buger/jsonparser/pull/239) - Added latest versions of go to tests by [@&#8203;moredure](https://redirect.github.com/moredure) in [#&#8203;244](https://redirect.github.com/buger/jsonparser/pull/244) - fix EachKey pIdxFlags allocation by [@&#8203;unxcepted](https://redirect.github.com/unxcepted) in [#&#8203;241](https://redirect.github.com/buger/jsonparser/pull/241) - fix: prevent panic on negative slice index in Delete with malformed JSON (GO-2026-4514) by [@&#8203;dbarrosop](https://redirect.github.com/dbarrosop) in [#&#8203;276](https://redirect.github.com/buger/jsonparser/pull/276) #### New Contributors - [@&#8203;janreggie](https://redirect.github.com/janreggie) made their first contribution in [#&#8203;225](https://redirect.github.com/buger/jsonparser/pull/225) - [@&#8203;Villenny](https://redirect.github.com/Villenny) made their first contribution in [#&#8203;223](https://redirect.github.com/buger/jsonparser/pull/223) - [@&#8203;daria-kay](https://redirect.github.com/daria-kay) made their first contribution in [#&#8203;226](https://redirect.github.com/buger/jsonparser/pull/226) - [@&#8203;carsonip](https://redirect.github.com/carsonip) made their first contribution in [#&#8203;231](https://redirect.github.com/buger/jsonparser/pull/231) - [@&#8203;jonomacd](https://redirect.github.com/jonomacd) made their first contribution in [#&#8203;228](https://redirect.github.com/buger/jsonparser/pull/228) - [@&#8203;moredure](https://redirect.github.com/moredure) made their first contribution in [#&#8203;244](https://redirect.github.com/buger/jsonparser/pull/244) - [@&#8203;unxcepted](https://redirect.github.com/unxcepted) made their first contribution in [#&#8203;241](https://redirect.github.com/buger/jsonparser/pull/241) - [@&#8203;dbarrosop](https://redirect.github.com/dbarrosop) made their first contribution in [#&#8203;276](https://redirect.github.com/buger/jsonparser/pull/276) **Full Changelog**: <buger/jsonparser@v1.1.1...v1.1.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42My4wIiwidXBkYXRlZEluVmVyIjoiNDMuNjMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwic2VjdXJpdHkiXX0=-->
1 parent ee835b6 commit 6a1cecb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/apache/thrift v0.22.0 // indirect
1919
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
2020
github.com/bahlo/generic-list-go v0.2.0 // indirect
21-
github.com/buger/jsonparser v1.1.1 // indirect
21+
github.com/buger/jsonparser v1.1.2 // indirect
2222
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2323
github.com/cloudquery/cloudquery-api-go v1.14.8 // indirect
2424
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xW
1212
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
1313
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
1414
github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0=
15-
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
16-
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
15+
github.com/buger/jsonparser v1.1.2 h1:frqHqw7otoVbk5M8LlE/L7HTnIq2v9RX6EJ48i9AxJk=
16+
github.com/buger/jsonparser v1.1.2/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
1717
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
1818
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
1919
github.com/cloudquery/cloudquery-api-go v1.14.8 h1:iwXOQoVINrDQ69gtqBjWPSIdg7KcyLMq//FJkLxzUV4=

0 commit comments

Comments
 (0)