Approved changes feed: RSS · Atom

cpe:2.3:a:resty_project:resty:*:*:*:*:*:go:*:*

part: a version: * update: *

VendorResty Project (e92b8fc1-e398-530f-9ede-190414090863)
ProductResty (c79370dd-6a2d-5482-aeb4-2e134e5441a1)
Edition*
Language*
Software edition*
Target softwarego
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-45286 vulnerable 2026-06-08 06:12:42.450252 HTTP request body disclosure in github.com/go-resty/resty/v2
A race condition in go-resty can result in HTTP request body disclosure across requests. This condition can be triggered by calling sync.Pool.Put with the same *bytes.Buffer more than once, when request retries are enabled and a retry occurs. The call to sync.Pool.Get will then return a bytes.Buffer that hasn't had bytes.Buffer.Reset called on it. This dirty buffer will contain the HTTP request body from an unrelated request, and go-resty will append the current HTTP request body to it, sending two bodies in one request. The sync.Pool in question is defined at package level scope, so a completely unrelated server could receive the request body.
Published: 2023-11-28T16:31:21.078Z
Updated: 2024-08-28T20:01:23.626Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.