{"id":"GHSA-xwh9-gc39-5298","revision":null,"records":[{"revision":"93cccee15c9349d9adc37b48fc985956","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-45286","aliases":[],"title":"HTTP request body disclosure in github.com/go-resty/resty/v2","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":"2023-11-28T16:31:21.078+00:00","modifiedAt":"2024-08-28T20:01:23.626+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"github.com/go-resty/resty/v2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"github.com/go-resty/resty/v2\",\n                    \"product\": \"github.com/go-resty/resty/v2\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"github.com/go-resty/resty/v2\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.10.0\",\n                            \"lessThan\": \"2.11.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"handleRequestBody\"\n                        },\n                        {\n                            \"name\": \"Backoff\"\n                        },\n                        {\n                            \"name\": \"Request.Delete\"\n                        },\n                        {\n                            \"name\": \"Request.Execute\"\n                        },\n                        {\n                            \"name\": \"Request.Get\"\n                        },\n                        {\n                            \"name\": \"Request.Head\"\n                        },\n                        {\n                            \"name\": \"Request.Options\"\n                        },\n                        {\n                            \"name\": \"Request.Patch\"\n                        },\n                        {\n                            \"name\": \"Request.Post\"\n                        },\n                        {\n                            \"name\": \"Request.Put\"\n                        },\n                        {\n                            \"name\": \"Request.Send\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"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://www.cve.org/CVERecord?id=CVE-2023-45286","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-45286","identifiers":["CVE-2023-45286"]},"retained":false,"historicalAffected":[]},{"revision":"bba6e9bfe5b3494da37d5fe820afef2d","observedAt":"2026-11-19T02:38:05.95+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":[]},{"revision":"d54df5446e0749278845ba2ad885a440","observedAt":"2026-10-24T22:17:27.792+00:00","statement":{"source":"nvd","id":"CVE-2023-45286","aliases":[],"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":"2023-11-28T17:15:08.28+00:00","modifiedAt":"2026-06-17T06:28:35.33+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/go-resty/resty/commit/577fed8730d79f583eb48dfc81674164e1fc471e","https://github.com/go-resty/resty/issues/739","https://github.com/go-resty/resty/issues/743","https://github.com/go-resty/resty/pull/745","https://pkg.go.dev/vuln/GO-2023-2328"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-45286","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-362"],"productCriteria":["cpe:2.3:a:resty_project:resty:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2023-11-28T17:15:08.280","lastModified":"2026-06-17T06:28:35.330"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2023-45286","identifiers":["CVE-2023-45286"]},"retained":false,"historicalAffected":[]},{"revision":"3818a75c9d4a465fa53c5740e71fb10c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-xwh9-gc39-5298","aliases":["CVE-2023-45286","GO-2023-2328"],"title":"github.com/go-resty/resty/v2 HTTP request body disclosure","description":"A race condition in go-resty can result in HTTP request body disclosure across requests.\n\nThis 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.\n\nThe sync.Pool in question is defined at package level scope, so a completely unrelated server could receive the request body.","state":0,"publishedAt":"2023-11-28T17:36:21+00:00","modifiedAt":"2026-09-10T03:49:59.2715867+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-resty/resty/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.10.0"},{"kind":"fixed","version":"2.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-45286","https://github.com/go-resty/resty/issues/739","https://github.com/go-resty/resty/issues/743","https://github.com/go-resty/resty/pull/745","https://github.com/go-resty/resty/commit/577fed8730d79f583eb48dfc81674164e1fc471e","https://github.com/go-resty/resty","https://github.com/go-resty/resty/releases/tag/v2.11.0","https://pkg.go.dev/vuln/GO-2023-2328"],"sourceUrl":"https://github.com/advisories/GHSA-xwh9-gc39-5298","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xwh9-gc39-5298","identifiers":["GHSA-xwh9-gc39-5298","CVE-2023-45286","GO-2023-2328"]},"retained":false,"historicalAffected":[]},{"revision":"31232c0958b5463f9494c7b90d0cb8fe","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2023-2328","aliases":["CVE-2023-45286","GHSA-xwh9-gc39-5298"],"title":"HTTP request body disclosure in github.com/go-resty/resty/v2","description":"A race condition in go-resty can result in HTTP request body disclosure across requests.\n\nThis 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.\n\nThe sync.Pool in question is defined at package level scope, so a completely unrelated server could receive the request body.","state":0,"publishedAt":"2023-11-27T18:53:31+00:00","modifiedAt":"2026-02-04T04:31:53.755411+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-resty/resty/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.10.0"},{"kind":"fixed","version":"2.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"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"],"sourceUrl":"https://osv.dev/vulnerability/GO-2023-2328","license":"OSV · upstream source license applies","key":"osv:GO-2023-2328","identifiers":["GO-2023-2328","CVE-2023-45286","GHSA-xwh9-gc39-5298"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T04:24:37.1903365+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T04:24:37.1903365+00:00","lastSuccessAt":"2026-11-19T04:24:37.372166+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.3721666+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-0e69c6613585444f641c92f526100c36dd9cd3e99fef2d7247efc88cf506728d","complete":true,"records":428229,"lastAttemptAt":"2026-11-19T04:22:50.7413942+00:00","lastSuccessAt":"2026-11-19T04:22:50.7221018+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:22:50.7413942+00:00","snapshotPublishedAt":"2026-11-19T03:23:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0aa7483267c148338cf702fa047c0624","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T04:29:25.430896+00:00","lastSuccessAt":"2026-11-19T04:29:25.5480596+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:29:25.5480596+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T04:24:37.1903365+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T04:24:37.1903365+00:00","lastSuccessAt":"2026-11-19T04:24:38.0697004+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:38.0697013+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T04:24:39.3964736+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T04:24:37.034158+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.034158+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T04:22:50.8981544+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:22:50.8981544+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T04:24:37.1431899+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:37.1431899+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2556fa291ec863b7fd77332e55dcff5569878e06b48ea32c182e52878cdd1ce8","complete":true,"records":232702,"lastAttemptAt":"2026-11-19T04:24:36.8996689+00:00","lastSuccessAt":"2026-11-19T04:24:35.8955272+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:36.8996689+00:00","snapshotPublishedAt":"2026-11-19T03:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}