CVE-2022-26945
go-getter: command injection vulnerability
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA. Más baja según Red Hat (alta), Ubuntu (media).
Descripción
go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/hashicorp/go-getter, github.com/hashicorp/go-getter/gcs/v2, github.com/hashicorp/go-getter/s3/v2 y 1 más | 1.6.1, 2.1.0 y 1 más |
| debian 10 | golang-github-hashicorp-go-getter | sin corrección indicada |
| debian 11 | golang-github-hashicorp-go-getter | sin corrección indicada |
| debian 12 | golang-github-hashicorp-go-getter | sin corrección indicada |
| echo | golang-github-hashicorp-go-getter | sin corrección indicada |
| rapidfort debian 12 | golang-github-hashicorp-go-getter | sin corrección indicada |
| rapidfort debian 13 | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 18.04-ESM | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 20.04-ESM | golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getter | sin corrección indicada |
| ubuntu 22.04 | golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getter | sin corrección indicada |
| ubuntu 24.04 | golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getter | sin corrección indicada |
Mostrar las 17 entradas de 11 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/hashicorp/go-getter | 1.6.1, 2.1.0 |
| go::GitHub Security Advisory Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 |
| go::GitHub Security Advisory Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 |
| go::GitHub Security Advisory Go | github.com/hashicorp/go-getter/v2 | 2.1.0 |
| debian 10 | golang-github-hashicorp-go-getter | sin corrección indicada |
| debian 11 | golang-github-hashicorp-go-getter | sin corrección indicada |
| debian 12 | golang-github-hashicorp-go-getter | sin corrección indicada |
| echo | golang-github-hashicorp-go-getter | sin corrección indicada |
| rapidfort debian 12 | golang-github-hashicorp-go-getter | sin corrección indicada |
| rapidfort debian 13 | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 18.04-ESM | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 20.04-ESM | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 20.04-ESM | golang-github-jesseduffield-go-getter | sin corrección indicada |
| ubuntu 22.04 | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 22.04 | golang-github-jesseduffield-go-getter | sin corrección indicada |
| ubuntu 24.04 | golang-github-hashicorp-go-getter | sin corrección indicada |
| ubuntu 24.04 | golang-github-jesseduffield-go-getter | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2022-26945
- https://discuss.hashicorp.com
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930
- https://github.com/hashicorp/go-getter
- https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48
- https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45
- https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45%20%28v1.6.0%29
- https://github.com/hashicorp/go-getter/pull/359