# CVE-2022-31090: CURLOPT_HTTPAUTH option not cleared on change of origin

Source: https://junglewise.ai/threats/cve-2022-31090-curlopt-httpauth-option-not-cleared-on-change-of-origin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-06-21  
License: CC BY 4.0 with a link back

CVE-2022-31090 · Severity: low · CVSS 3.1 · Published 2022-06-21

CURLOPT_HTTPAUTH option not cleared on change of origin

Technologies: [guzzlehttp/guzzle (Packagist)](https://junglewise.ai/threats/technologies/guzzlehttp-guzzle). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2022-31090 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-31090 being exploited in the wild.

**How severe is CVE-2022-31090?** Low severity, with a CVSS score of 3.1, published 21 June 2022.

**Which products and versions are affected?** guzzlehttp/guzzle (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8.

**Is there a fix for CVE-2022-31090?** Yes. guzzlehttp/guzzle (Packagist): upgrade to 6.5.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-31090?** Check whether you run guzzlehttp/guzzle (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- guzzlehttp/guzzle (Packagist): upgrade to 6.5.8 or later

  ```sh
  composer require guzzlehttp/guzzle:^6.5.8
  ```


## Affected products

- guzzlehttp/guzzle (Packagist) ECOSYSTEM:introduced=0,fixed=6.5.8

## Identifiers

- CVE-2022-31090
- GHSA-25mq-v84q-4j7r

## Related threats

- [Guzzle noncanonical host bypass in URI handlers](https://junglewise.ai/threats/cve-2026-69246-guzzle-noncanonical-host-bypass-in-uri-handlers)
- [Guzzle incorrect cookie domain matching for noncanonical IP addresses](https://junglewise.ai/threats/cve-2026-69245-guzzle-incorrect-cookie-domain-matching-for-noncanonical-ip)
- [Guzzle GuzzleHTTP host-only cookie scope disclosure](https://junglewise.ai/threats/guzzle-guzzlehttp-host-only-cookie-scope-disclosure-958db8d5)
- [Guzzle information disclosure in RedirectMiddleware Referer headers](https://junglewise.ai/threats/guzzle-information-disclosure-in-redirectmiddleware-referer-headers-d2e711b6)
- [Guzzle unbounded response cookies denial of service in CookieJar](https://junglewise.ai/threats/guzzle-unbounded-response-cookies-denial-of-service-in-cookiejar-f650c2bc)
