🛡️ CVE-2023-45286 on Debian — golang-github-go-resty-resty
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.
Distribution advisory
This page covers CVE-2023-45286 as tracked by Debian, for the package golang-github-go-resty-resty. The fix is available in version 2.10.0-2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.
Affected software
DEBIAN-CVE-2023-45286 is recorded against 1 package.
- golang-github-go-resty-resty (fixed in 2.10.0-2)
Timeline and source
Published on 28 November 2023 and last revised on 7 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2023-45286 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang-github-go-resty-resty | — | 2.10.0-2 |
References
Similar Threats
- Unknown UBUNTU-CVE-2023-45286
More DEBIAN CVE 2023 advisories
Browse all of DEBIAN CVE 2023 in the advisory index.
- DEBIAN-CVE-2023-45233
- DEBIAN-CVE-2023-45234
- DEBIAN-CVE-2023-45235
- DEBIAN-CVE-2023-45236
- DEBIAN-CVE-2023-45237
- DEBIAN-CVE-2023-45283
- DEBIAN-CVE-2023-45284
- DEBIAN-CVE-2023-45285
- DEBIAN-CVE-2023-45287
- DEBIAN-CVE-2023-45288
- DEBIAN-CVE-2023-45289
- DEBIAN-CVE-2023-45290
- DEBIAN-CVE-2023-45322
- DEBIAN-CVE-2023-45359
- DEBIAN-CVE-2023-45360
- DEBIAN-CVE-2023-45361
Vulnerability Monitoring
Track new vulnerabilities in golang-github-go-resty-resty
DEBIAN-CVE-2023-45286 is rated CVSS 5.9 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.