Skip to content

Commit

Permalink
data/reports: add GO-2023-1930.yaml
Browse files Browse the repository at this point in the history
Aliases: CVE-2023-37475, GHSA-9x44-9pgq-cf45

Fixes #1930

Change-Id: Ic2946846b67d012fde6300edfbb9cfff85545934
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/512916
Run-TryBot: Damien Neil <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Tatiana Bradley <[email protected]>
  • Loading branch information
neild committed Jul 25, 2023
1 parent 30a9051 commit 7eb3bd4
Show file tree
Hide file tree
Showing 2 changed files with 222 additions and 0 deletions.
139 changes: 139 additions & 0 deletions data/osv/GO-2023-1930.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"schema_version": "1.3.1",
"id": "GO-2023-1930",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-37475",
"GHSA-9x44-9pgq-cf45"
],
"summary": "Unrestriced memory consumption in github.com/hamba/avro",
"details": "Unrestriced memory consumption in github.com/hamba/avro",
"affected": [
{
"package": {
"name": "github.com/hamba/avro/v2",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.13.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/hamba/avro/v2",
"symbols": [
"Decoder.Decode",
"Reader.ReadArrayCB",
"Reader.ReadBytes",
"Reader.ReadMapCB",
"Reader.ReadNext",
"Reader.ReadString",
"Reader.ReadVal",
"Reader.readBytes",
"Unmarshal",
"arrayDecoder.Decode",
"bytesCodec.Decode",
"bytesDecimalCodec.Decode",
"bytesDecimalPtrCodec.Decode",
"dereferenceDecoder.Decode",
"efaceDecoder.Decode",
"frozenConfig.Unmarshal",
"mapDecoder.Decode",
"mapSkipDecoder.Decode",
"mapUnionDecoder.Decode",
"recordIfaceDecoder.Decode",
"recordMapDecoder.Decode",
"recordSkipDecoder.Decode",
"referenceDecoder.Decode",
"sliceSkipDecoder.Decode",
"stringCodec.Decode",
"structDecoder.Decode",
"textMarshalerCodec.Decode",
"unionPtrDecoder.Decode",
"unionResolvedDecoder.Decode",
"unionSkipDecoder.Decode"
]
}
]
}
},
{
"package": {
"name": "github.com/hamba/avro",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/hamba/avro",
"symbols": [
"Decoder.Decode",
"Reader.ReadArrayCB",
"Reader.ReadBytes",
"Reader.ReadMapCB",
"Reader.ReadNext",
"Reader.ReadString",
"Reader.ReadVal",
"Unmarshal",
"arrayDecoder.Decode",
"bytesCodec.Decode",
"bytesDecimalCodec.Decode",
"bytesDecimalPtrCodec.Decode",
"dereferenceDecoder.Decode",
"efaceDecoder.Decode",
"frozenConfig.Unmarshal",
"mapDecoder.Decode",
"mapSkipDecoder.Decode",
"mapUnionDecoder.Decode",
"recordIfaceDecoder.Decode",
"recordMapDecoder.Decode",
"recordSkipDecoder.Decode",
"referenceDecoder.Decode",
"sliceSkipDecoder.Decode",
"stringCodec.Decode",
"structDecoder.Decode",
"textMarshalerCodec.Decode",
"unionPtrDecoder.Decode",
"unionResolvedDecoder.Decode",
"unionSkipDecoder.Decode"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45"
},
{
"type": "FIX",
"url": "https://github.com/hamba/avro/pull/273"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1930"
}
}
83 changes: 83 additions & 0 deletions data/reports/GO-2023-1930.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
id: GO-2023-1930
modules:
- module: github.com/hamba/avro/v2
versions:
- fixed: 2.13.0
vulnerable_at: 2.12.0
packages:
- package: github.com/hamba/avro/v2
symbols:
- Reader.readBytes
derived_symbols:
- Decoder.Decode
- Reader.ReadArrayCB
- Reader.ReadBytes
- Reader.ReadMapCB
- Reader.ReadNext
- Reader.ReadString
- Reader.ReadVal
- Unmarshal
- arrayDecoder.Decode
- bytesCodec.Decode
- bytesDecimalCodec.Decode
- bytesDecimalPtrCodec.Decode
- dereferenceDecoder.Decode
- efaceDecoder.Decode
- frozenConfig.Unmarshal
- mapDecoder.Decode
- mapSkipDecoder.Decode
- mapUnionDecoder.Decode
- recordIfaceDecoder.Decode
- recordMapDecoder.Decode
- recordSkipDecoder.Decode
- referenceDecoder.Decode
- sliceSkipDecoder.Decode
- stringCodec.Decode
- structDecoder.Decode
- textMarshalerCodec.Decode
- unionPtrDecoder.Decode
- unionResolvedDecoder.Decode
- unionSkipDecoder.Decode
- module: github.com/hamba/avro
vulnerable_at: 1.8.0
packages:
- package: github.com/hamba/avro
symbols:
- Reader.ReadBytes
- Reader.ReadString
derived_symbols:
- Decoder.Decode
- Reader.ReadArrayCB
- Reader.ReadMapCB
- Reader.ReadNext
- Reader.ReadVal
- Unmarshal
- arrayDecoder.Decode
- bytesCodec.Decode
- bytesDecimalCodec.Decode
- bytesDecimalPtrCodec.Decode
- dereferenceDecoder.Decode
- efaceDecoder.Decode
- frozenConfig.Unmarshal
- mapDecoder.Decode
- mapSkipDecoder.Decode
- mapUnionDecoder.Decode
- recordIfaceDecoder.Decode
- recordMapDecoder.Decode
- recordSkipDecoder.Decode
- referenceDecoder.Decode
- sliceSkipDecoder.Decode
- stringCodec.Decode
- structDecoder.Decode
- textMarshalerCodec.Decode
- unionPtrDecoder.Decode
- unionResolvedDecoder.Decode
- unionSkipDecoder.Decode
summary: Unrestriced memory consumption in github.com/hamba/avro
cves:
- CVE-2023-37475
ghsas:
- GHSA-9x44-9pgq-cf45
references:
- advisory: https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45
- fix: https://github.com/hamba/avro/pull/273

0 comments on commit 7eb3bd4

Please sign in to comment.