# CURLOPT_HTTPAUTH option not cleared on change of origin

Advisory record · `GHSA-25mq-v84q-4j7r`

- **Identifiers:** `GHSA-25mq-v84q-4j7r` · `CVE-2022-31090` · `PKSA-k1b4-kshy-xgbh`
- **State:** Confirmed
- **Severity:** CVSS 7.7 High
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-212](https://cwe.mitre.org/data/definitions/212.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [CWE-212](https://agentprime.io/advisories/tag/cwe-212.md)
- **Published:** 21 Jun 2022
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Jun 2022, 16:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `guzzlehttp/guzzle` (Packagist): affected `<6.5.8 || >=7.0.0, <7.4.5`; fixed in `6.5.8`, `7.4.5`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.7 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.019, the 79th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 21 Jun 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-25mq-v84q-4j7r](https://github.com/advisories/GHSA-25mq-v84q-4j7r)
- [OSV: GHSA-25mq-v84q-4j7r](https://osv.dev/vulnerability/GHSA-25mq-v84q-4j7r)
- <https://github.com/guzzle/guzzle/security/advisories/GHSA-25mq-v84q-4j7r>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31090>
- <https://github.com/guzzle/guzzle/commit/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2022-31090.yaml>
- <https://github.com/guzzle/guzzle>
- <https://github.com/guzzle/guzzle/blob/6.5.8/CHANGELOG.md>
- <https://github.com/guzzle/guzzle/blob/7.4.5/CHANGELOG.md>
- <https://security.gentoo.org/glsa/202305-24>
- <https://www.debian.org/security/2022/dsa-5246>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-25mq-v84q-4j7r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-25mq-v84q-4j7r/>. Everything for agents: <https://agentprime.io/llms.txt>.
