CVE-2019-20933
influxdb: authentication bypass because a JWT token may have an empty SharedSecret
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Photon OS. Rated lower by Red Hat (high), Ubuntu (medium).
Description
InfluxDB before 1.7.6 has an authentication bypass vulnerability in the authenticate function in services/httpd/handler.go because a JWT token may have an empty SharedSecret (aka shared secret).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/influxdata/influxdb | 1.7.6 |
| Photon OS 2.0 | influxdb | 1.6.0-6.ph2 |
| Photon OS 3.0 | influxdb | 1.6.0-10.ph3 |
| Photon OS 5.0 | kapacitor | 1.6.6-1.ph5 |
| debian 10 | influxdb | 1.6.4-1+deb10u1 |
| debian 11 | influxdb | 1.6.7~rc0-1 |
| debian 12 | influxdb | 1.6.7~rc0-1 |
| debian 13 | influxdb | 1.6.7~rc0-1 |
| debian 14 | influxdb | 1.6.7~rc0-1 |
| debian 9 | influxdb | 1.1.1+dfsg1-4+deb9u1 |
| echo | influxdb | 1.6.7~rc0-1 |
| ubuntu 18.04 | influxdb | 1.1.1+dfsg1-4+deb9u1ubuntu1 |
Show all 18 entries from 18 sources
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/influxdata/influxdb | 1.7.6 |
| Photon OS 2.0 | influxdb | 1.6.0-6.ph2 |
| Photon OS 3.0 | influxdb | 1.6.0-10.ph3 |
| Photon OS 5.0 | kapacitor | 1.6.6-1.ph5 |
| debian 10 | influxdb | 1.6.4-1+deb10u1 |
| debian 11 | influxdb | 1.6.7~rc0-1 |
| debian 12 | influxdb | 1.6.7~rc0-1 |
| debian 13 | influxdb | 1.6.7~rc0-1 |
| debian 14 | influxdb | 1.6.7~rc0-1 |
| debian 9 | influxdb | 1.1.1+dfsg1-4+deb9u1 |
| echo | influxdb | 1.6.7~rc0-1 |
| ubuntu 18.04 | influxdb | 1.1.1+dfsg1-4+deb9u1ubuntu1 |
| ubuntu 18.04-ESM | influxdb | 1.1.1+dfsg1-4+deb9u1ubuntu1 |
| ubuntu 20.04 | influxdb | 1.6.4-1+deb10u1build0.20.04.1 |
| ubuntu 20.04-ESM | influxdb | 1.6.4-1+deb10u1build0.20.04.1 |
| ubuntu 21.04 | influxdb | 1.6.7~rc0-1 |
| ubuntu 21.10 | influxdb | 1.6.7~rc0-1 |
| ubuntu 22.04 | influxdb | 1.6.7~rc0-1 |
References
- https://access.redhat.com/security/cve/CVE-2019-20933
- https://github.com/influxdata/influxdb/commit/761b557315ff9c1642cf3b0e5797cd3d983a24c0
- https://github.com/influxdata/influxdb/compare/v1.7.5...v1.7.6
- https://github.com/influxdata/influxdb/issues/12927
- https://github.com/ticarpi/jwt_tool/blob/a6ca3e0524a204b5add070bc6874cb4e7e5a9864/jwt_tool.py#L1368
- https://lists.debian.org/debian-lts-announce/2020/12/msg00030.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-20933
- https://pkg.go.dev/github.com/influxdata/influxdb/services/httpd