# Snyk test report

September 8th 2024, 12:18:44 am (UTC+00:00)

Scanned the following paths:

- ghcr.io/dexidp/dex:v2.41.1/dexidp/dex (apk)
- ghcr.io/dexidp/dex:v2.41.1/hairyhenderson/gomplate/v4//usr/local/bin/gomplate (gomodules)
- ghcr.io/dexidp/dex:v2.41.1/dexidp/dex//usr/local/bin/docker-entrypoint (gomodules)
- ghcr.io/dexidp/dex:v2.41.1/dexidp/dex//usr/local/bin/dex (gomodules)

2 known vulnerabilities
8 vulnerable dependency paths
969 dependencies

## Insertion of Sensitive Information into Log File

medium severity

- Manifest file: ghcr.io/dexidp/dex:v2.41.1/hairyhenderson/gomplate/v4 › /usr/local/bin/gomplate
- Package Manager: golang
- Vulnerable module: google.golang.org/grpc/metadata
- Introduced through: github.com/hairyhenderson/gomplate/v4@* and google.golang.org/grpc/metadata@v1.64.0

### Detailed paths

- Introduced through: github.com/hairyhenderson/gomplate/v4@* › google.golang.org/grpc/metadata@v1.64.0

## Overview

google.golang.org/grpc/metadata is a package that defines the structure of the metadata supported by the gRPC library

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the form of gRPC metadata. If the metadata contains sensitive information an attacker can expose it.

## Remediation

Upgrade `google.golang.org/grpc/metadata` to version 1.64.1 or higher.

## References

- GitHub Commit

More about this vulnerability

## CVE-2024-6119

low severity

- Package Manager: alpine:3.20
- Vulnerable module: openssl/libcrypto3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 and openssl/libcrypto3@3.3.1-r3

### Detailed paths

- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › openssl/libcrypto3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › apk-tools/apk-tools@2.14.4-r0 › openssl/libcrypto3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › busybox/ssl_client@1.36.1-r29 › openssl/libcrypto3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › apk-tools/apk-tools@2.14.4-r0 › openssl/libssl3@3.3.1-r3 › openssl/libcrypto3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › openssl/libssl3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › apk-tools/apk-tools@2.14.4-r0 › openssl/libssl3@3.3.1-r3
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.41.1 › busybox/ssl_client@1.36.1-r29 › openssl/libssl3@3.3.1-r3

## 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: Applications performing certificate name checks (e.g., TLS clients checking server certificates) may attempt to read an invalid memory address resulting in abnormal termination of the application process.

Impact summary: Abnormal termination of an application can a cause a denial of service.

Applications performing certificate name checks (e.g., TLS clients checking server certificates) may attempt to read an invalid memory address when comparing the expected name with an `otherName` subject alternative name of an X.509 certificate. This may result in an exception that terminates the application program.

Note that basic certificate chain validation (signatures, dates, ...) is not affected, the denial of service can occur only when the application also specifies an expected DNS name, Email address or IP address.

TLS servers rarely solicit client certificates, and even when they do, they generally don't perform a name check against a reference identifier (expected identity), but rather extract the presented identity after checking the certificate chain. So TLS servers are generally not affected and the severity of the issue is Moderate.

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-r0 or higher.

## References

- https://github.com/openssl/openssl/commit/05f360d9e849a1b277db628f1f13083a7f8dd04f
- https://github.com/openssl/openssl/commit/06d1dc3fa96a2ba5a3e22735a033012aadc9f0d6
- https://github.com/openssl/openssl/commit/621f3729831b05ee828a3203eddb621d014ff2b2
- https://github.com/openssl/openssl/commit/7dfcee2cd2a63b2c64b9b4b0850be64cb695b0a0
- https://openssl-library.org/news/secadv/20240903.txt

More about this vulnerability