# Snyk test report

December 15th 2024, 12:24:32 am (UTC+00:00)

Scanned the following paths:

- public.ecr.aws/docker/library/redis:7.0.15-alpine/docker/library/redis (apk)
- public.ecr.aws/docker/library/redis:7.0.15-alpine/tianon/gosu//usr/local/bin/gosu (gomodules)

1 known vulnerabilities
9 vulnerable dependency paths
18 dependencies

## CVE-2024-9143

low severity

- Package Manager: alpine:3.20
- Vulnerable module: openssl/libcrypto3
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine and openssl/libcrypto3@3.3.2-r0

### Detailed paths

- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › openssl/libcrypto3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › .redis-rundeps@20240906.232324 › openssl/libcrypto3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › apk-tools/apk-tools@2.14.4-r0 › openssl/libcrypto3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › busybox/ssl_client@1.36.1-r29 › openssl/libcrypto3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › .redis-rundeps@20240906.232324 › openssl/libssl3@3.3.2-r0 › openssl/libcrypto3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › openssl/libssl3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › .redis-rundeps@20240906.232324 › openssl/libssl3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › apk-tools/apk-tools@2.14.4-r0 › openssl/libssl3@3.3.2-r0
- Introduced through: docker-image|public.ecr.aws/docker/library/redis@7.0.15-alpine › busybox/ssl_client@1.36.1-r29 › openssl/libssl3@3.3.2-r0

## NVD Description

Note: Versions mentioned in the description apply only to the upstream `openssl` package and not the `openssl` package as distributed by `Alpine`. See `How to fix?` for `Alpine:3.20` relevant fixed versions and status.

Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial can lead to out-of-bounds memory reads or writes.

Impact summary: Out of bound memory writes can lead to an application crash or even a possibility of a remote code execution, however, in all the protocols involving Elliptic Curve Cryptography that we're aware of, either only "named curves" are supported, or, if explicit curve parameters are supported, they specify an X9.62 encoding of binary (GF(2^m)) curves that can't represent problematic input values. Thus the likelihood of existence of a vulnerable application is low.

In particular, the X9.62 encoding is used for ECC keys in X.509 certificates, so problematic inputs cannot occur in the context of processing X.509 certificates. Any problematic use-cases would have to be using an "exotic" curve encoding.

The affected APIs include: EC_GROUP_new_curve_GF2m(), EC_GROUP_new_from_params(), and various supporting BN_GF2m_*() functions.

Applications working with "exotic" explicit binary (GF(2^m)) curve parameters, that make it possible to represent invalid field polynomials with a zero constant term, via the above or similar APIs, may terminate abruptly as a result of reading or writing outside of array bounds. Remote code execution cannot easily be ruled out.

The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.

## Remediation

Upgrade `Alpine:3.20` `openssl` to version 3.3.2-r1 or higher.

## References

- https://github.com/openssl/openssl/commit/72ae83ad214d2eef262461365a1975707f862712
- https://github.com/openssl/openssl/commit/bc7e04d7c8d509fb78fc0e285aa948fb0da04700
- https://github.com/openssl/openssl/commit/c0d3e4d32d2805f49bec30547f225bc4d092e1f4
- https://github.com/openssl/openssl/commit/fdf6723362ca51bd883295efe206cb5b1cfa5154
- https://github.openssl.org/openssl/extended-releases/commit/8efc0cbaa8ebba8e116f7b81a876a4123594d86a
- https://github.openssl.org/openssl/extended-releases/commit/9d576994cec2b7aa37a91740ea7e680810957e41
- https://openssl-library.org/news/secadv/20241016.txt
- http://www.openwall.com/lists/oss-security/2024/10/16/1
- http://www.openwall.com/lists/oss-security/2024/10/23/1
- http://www.openwall.com/lists/oss-security/2024/10/24/1
- https://security.netapp.com/advisory/ntap-20241101-0001/

More about this vulnerability