For your digest
google.golang.org/protobuf, google.golang.org/protobuf/encoding/protojson: Golang protojson.Unmarshal function infinite loop when unmarshal…
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- google.golang.org/protobuf (Go): every version, before 1.33.0
- google.golang.org/protobuf/encoding/protojson (Go): every version, before 1.33.0
- google.golang.org/protobuf/internal/encoding/json (Go): every version, before 1.33.0
- google.golang.org/protobuf (Go): every version, before 1.33.0
The fix
google.golang.org/protobuf (Go) fixed in 1.33.0
gogo get google.golang.org/protobuf@v1.33.0Check what is installedgo list -m google.golang.org/protobufPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency google.golang.org/protobuf to 1.33.0 or the nearest later release, to fix CVE-2024-24786. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.google.golang.org/protobuf/encoding/protojson (Go) fixed in 1.33.0
gogo get google.golang.org/protobuf/encoding/protojson@v1.33.0Check what is installedgo list -m google.golang.org/protobuf/encoding/protojsonPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency google.golang.org/protobuf/encoding/protojson to 1.33.0 or the nearest later release, to fix CVE-2024-24786. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.google.golang.org/protobuf/internal/encoding/json (Go) fixed in 1.33.0
gogo get google.golang.org/protobuf/internal/encoding/json@v1.33.0Check what is installedgo list -m google.golang.org/protobuf/internal/encoding/jsonPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency google.golang.org/protobuf/internal/encoding/json to 1.33.0 or the nearest later release, to fix CVE-2024-24786. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".