{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-45286","published":"2023-11-28T17:15:08.280000Z","last_modified":"2026-06-17T06:28:35.330000Z","status":"Modified","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-362"],"cpes":[{"criteria":"cpe:2.3:a:resty_project:resty:*:*:*:*:*:go:*:*","part":"a","vendor":"resty_project","product":"resty","version_end_including":"2.10.0"}],"cpes_truncated":false,"vendors":["resty_project"],"products":["resty_project/resty"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00702,"percentile":0.4885,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xwh9-gc39-5298","ecosystem":"Go","name":"github.com/go-resty/resty/v2","purl":"pkg:golang/github.com/go-resty/resty/v2","ranges":[{"introduced":"2.10.0","fixed":"2.11.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-2328","ecosystem":"Go","name":"github.com/go-resty/resty/v2","purl":"pkg:golang/github.com/go-resty/resty/v2","ranges":[{"introduced":"2.10.0","fixed":"2.11.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2023-45286/","html_en":"/en/cve/CVE-2023-45286/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-45286","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-45286"},"untrusted":{"vendor_name":"Resty Project","product_name":"Resty","desc_en":"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.","affected":[{"untrusted_vendor":"github.com/go-resty/resty/v2","untrusted_product":"github.com/go-resty/resty/v2","versions":[]}],"references":[{"url":"https://github.com/go-resty/resty/commit/577fed8730d79f583eb48dfc81674164e1fc471e","tags":[]},{"url":"https://github.com/go-resty/resty/issues/739","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/go-resty/resty/issues/743","tags":["Issue Tracking"]},{"url":"https://github.com/go-resty/resty/pull/745","tags":["Issue Tracking","Patch"]},{"url":"https://pkg.go.dev/vuln/GO-2023-2328","tags":["Vendor Advisory"]}]}}