{"id":"EUVD-2023-3068","revision":"eb4c02e369e94506becb4a6fa8532be7","records":[{"revision":"eb4c02e369e94506becb4a6fa8532be7","observedAt":"2026-11-15T00:34:06.915+00:00","statement":{"source":"euvd","id":"EUVD-2023-3068","aliases":["CVE-2023-45286","GHSA-xwh9-gc39-5298"],"title":"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 occur…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://github.com/go-resty/resty/issues/743","https://github.com/go-resty/resty/issues/739","https://github.com/go-resty/resty/pull/745","https://github.com/go-resty/resty/commit/577fed8730d79f583eb48dfc81674164e1fc471e","https://pkg.go.dev/vuln/GO-2023-2328"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-3068","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 28, 2023, 4:31:21 PM","dateUpdated":"Aug 28, 2024, 8:01:23 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2024-1226","title":"Red Hat OpenShift: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2020-26555","CVE-2021-25220","CVE-2021-29390","CVE-2021-43618","CVE-2022-0480","CVE-2022-2795","CVE-2022-3094","CVE-2022-38096","CVE-2022-40090","CVE-2022-45934","CVE-2022-48554","CVE-2022-48624","CVE-2023-24023","CVE-2023-25193","CVE-2023-25775","CVE-2023-26159","CVE-2023-26364","CVE-2023-28322","CVE-2023-28464","CVE-2023-28866","CVE-2023-2975","CVE-2023-31083","CVE-2023-31122","CVE-2023-3446","CVE-2023-3567","CVE-2023-3618","CVE-2023-37453","CVE-2023-3817","CVE-2023-38469","CVE-2023-38470","CVE-2023-38471","CVE-2023-38472","CVE-2023-38473","CVE-2023-38546","CVE-2023-39189","CVE-2023-39193","CVE-2023-39194","CVE-2023-39198","CVE-2023-39326","CVE-2023-40745","CVE-2023-41175","CVE-2023-4133","CVE-2023-42754","CVE-2023-42756","CVE-2023-43785","CVE-2023-43786","CVE-2023-43787","CVE-2023-43788","CVE-2023-43789","CVE-2023-4408","CVE-2023-45286","CVE-2023-45287","CVE-2023-45288","CVE-2023-45289","CVE-2023-45290","CVE-2023-45857","CVE-2023-45863","CVE-2023-46218","CVE-2023-46862","CVE-2023-47038","CVE-2023-48631","CVE-2023-50387","CVE-2023-50868","CVE-2023-51043","CVE-2023-51779","CVE-2023-51780","CVE-2023-52425","CVE-2023-52434","CVE-2023-52448","CVE-2023-52476","CVE-2023-52489","CVE-2023-52522","CVE-2023-52529","CVE-2023-52574","CVE-2023-52578","CVE-2023-52580","CVE-2023-52581","CVE-2023-52597","CVE-2023-52610","CVE-2023-52620","CVE-2023-5678","CVE-2023-6040","CVE-2023-6121","CVE-2023-6129","CVE-2023-6176","CVE-2023-6228","CVE-2023-6237","CVE-2023-6240","CVE-2023-6531","CVE-2023-6546","CVE-2023-6622","CVE-2023-6915","CVE-2023-6931","CVE-2023-6932","CVE-2023-7008","CVE-2024-0565","CVE-2024-0727","CVE-2024-0841","CVE-2024-1085","CVE-2024-1086","CVE-2024-1394","CVE-2024-1488","CVE-2024-21011","CVE-2024-21012","CVE-2024-21068","CVE-2024-21085","CVE-2024-21094","CVE-2024-22365","CVE-2024-24783","CVE-2024-24784","CVE-2024-24785","CVE-2024-24786","CVE-2024-25062","CVE-2024-25742","CVE-2024-25743","CVE-2024-26582","CVE-2024-26583","CVE-2024-26584","CVE-2024-26585","CVE-2024-26586","CVE-2024-26593","CVE-2024-26602","CVE-2024-26609","CVE-2024-26633","CVE-2024-27316","CVE-2024-28834","CVE-2024-28835","CVE-2024-28849","CVE-2024-29180","CVE-2024-2961","CVE-2024-33599","CVE-2024-33600","CVE-2024-33601","CVE-2024-33602"]},{"id":"msrc_CVE-2023-45286","title":"HTTP request body disclosure in github.com/go-resty/resty/v2","vulnerabilityIds":["CVE-2023-45286"]},{"id":"openSUSE-SU-2024:13569-1","title":"rclone-1.65.1-1.1 on GA media","vulnerabilityIds":["CVE-2023-45286","CVE-2023-48795"]},{"id":"RHSA-2024:3621","title":"Red Hat Security Advisory: Red Hat OpenShift distributed tracing 3.2.0 operator/operand containers update","vulnerabilityIds":["CVE-2023-45286","CVE-2023-45288","CVE-2023-45289","CVE-2023-45290","CVE-2024-24783","CVE-2024-24784","CVE-2024-24785","CVE-2024-24786"]},{"id":"RHSA-2024:3316","title":"Red Hat Security Advisory: Migration Toolkit for Applications security and bug fix update","vulnerabilityIds":["CVE-2023-26159","CVE-2023-26364","CVE-2023-39326","CVE-2023-45286","CVE-2023-45287","CVE-2023-45288","CVE-2023-45857","CVE-2023-48631","CVE-2024-24786","CVE-2024-28849","CVE-2024-29180"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-3068","identifiers":["EUVD-2023-3068","CVE-2023-45286","GHSA-xwh9-gc39-5298"]},"retained":false,"historicalAffected":[]}],"coverage":[]}