Skip to content

Commit 5aa562f

Browse files
authored
fix(deps): Update module github.com/buger/jsonparser to v1.1.2 [SECURITY] (#2449)
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 318fd0e commit 5aa562f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/simple_plugin/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ require (
2929
github.com/aws/aws-sdk-go-v2/service/sts v1.41.9 // indirect
3030
github.com/aws/smithy-go v1.24.2 // indirect
3131
github.com/bahlo/generic-list-go v0.2.0 // indirect
32-
github.com/buger/jsonparser v1.1.1 // indirect
32+
github.com/buger/jsonparser v1.1.2 // indirect
3333
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3434
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3535
github.com/cloudquery/cloudquery-api-go v1.14.8 // indirect

examples/simple_plugin/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xW
4848
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
4949
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
5050
github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0=
51-
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
52-
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
51+
github.com/buger/jsonparser v1.1.2 h1:frqHqw7otoVbk5M8LlE/L7HTnIq2v9RX6EJ48i9AxJk=
52+
github.com/buger/jsonparser v1.1.2/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
5353
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
5454
github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
5555
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ require (
6464
github.com/aws/aws-sdk-go-v2/service/sts v1.41.9 // indirect
6565
github.com/aws/smithy-go v1.24.2 // indirect
6666
github.com/bahlo/generic-list-go v0.2.0 // indirect
67-
github.com/buger/jsonparser v1.1.1 // indirect
67+
github.com/buger/jsonparser v1.1.2 // indirect
6868
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
6969
github.com/cespare/xxhash/v2 v2.3.0 // indirect
7070
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
@@ -48,8 +48,8 @@ github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xW
4848
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
4949
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
5050
github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0=
51-
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
52-
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
51+
github.com/buger/jsonparser v1.1.2 h1:frqHqw7otoVbk5M8LlE/L7HTnIq2v9RX6EJ48i9AxJk=
52+
github.com/buger/jsonparser v1.1.2/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
5353
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
5454
github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
5555
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=

0 commit comments

Comments
 (0)