CVE-2025-66564
ADVISORY - githubSummary
Impact
Excessive memory allocation
Function api.ParseJSONRequest currently splits (via a call to strings.Split) an optionally-provided OID (which is untrusted data) on periods. Similarly, function api.getContentType splits the Content-Type header (which is also untrusted data) on an application string.
As a result, in the face of a malicious request with either an excessively long OID in the payload containing many period characters or a malformed Content-Type header, a call to api.ParseJSONRequest or api.getContentType incurs allocations of O(n) bytes (where n stands for the length of the function's argument). Relevant weakness: CWE-405: Asymmetric Resource Consumption (Amplification)
Patches
Upgrade to v2.0.3.
Workarounds
There are no workarounds with the service itself. If the service is behind a load balancer, configure the load balancer to reject excessively large requests.
Common Weakness Enumeration (CWE)
Asymmetric Resource Consumption (Amplification)
Asymmetric Resource Consumption (Amplification)
Asymmetric Resource Consumption (Amplification)
NIST
3.9
CVSS SCORE
7.5highGitHub
3.9
CVSS SCORE
7.5highDebian
-
Ubuntu
-
CVSS SCORE
N/AmediumGoLang
-
Amazon
-
CVSS SCORE
N/AmediumRed Hat
3.9
CVSS SCORE
7.5highChainguard
CGA-25mq-gjw5-pf6v
-
Chainguard
CGA-3frx-m95r-fv7f
-
Chainguard
CGA-4469-g2rr-fm67
-
Chainguard
CGA-4grw-gfgh-mm2m
-
Chainguard
CGA-6fg8-vqjq-28qh
-
Chainguard
CGA-cw48-76q6-3q39
-
Chainguard
CGA-fg49-r9r5-v9mg
-
Chainguard
CGA-fxx4-h2rv-pr78
-
Chainguard
CGA-gqhg-75c7-8vfp
-
Chainguard
CGA-hgp6-7822-gvvg
-
Chainguard
CGA-j52g-q5gq-9c4h
-
Chainguard
CGA-j7r9-rpgg-g4q6
-
Chainguard
CGA-m9c4-mx87-79fq
-
Chainguard
CGA-r7p5-p42g-h7rf
-
Chainguard
CGA-v3f8-hmgc-mwf8
-
Chainguard
CGA-v853-rrjp-cjj6
-
Chainguard
CGA-vr2g-vxj9-w8q5
-
Chainguard
CGA-wx9q-pmx7-57g8
-
Chainguard
CGA-x4ww-hwwh-9gpm
-
minimos
MINI-2j4f-9f29-79rh
-
minimos
MINI-2r4h-7q3f-8p45
-
minimos
MINI-34hc-xrgr-84mv
-
minimos
MINI-4f62-98v5-mhqc
-
minimos
MINI-4qj6-wx2c-4rf9
-
minimos
MINI-4rfq-ccw4-6q72
-
minimos
MINI-67x4-7cf8-43f3
-
minimos
MINI-7jp8-52c4-v936
-
minimos
MINI-8q32-mrq5-5347
-
minimos
MINI-f7jg-hqrm-fwhq
-
minimos
MINI-g3h9-w8mf-rpp4
-
minimos
MINI-hg5x-6mv4-wfff
-
minimos
MINI-j8cv-8jrr-6ccv
-
minimos
MINI-pxvm-fr3r-7f58
-
minimos
MINI-q82f-fm6h-hj6w
-
minimos
MINI-rr4f-5rw8-mjfr
-
minimos
MINI-vhw9-4pjr-r6rr
-
minimos
MINI-w6q5-8vwg-q3j4
-
minimos
MINI-wfm7-5g2j-xj7f
-