# Snyk test report

September 7th 2022, 7:35:45 pm

Scanned the following path:

- ghcr.io/dexidp/dex:v2.32.0/dexidp/dex (apk)

3 known vulnerabilities
12 vulnerable dependency paths
14 dependencies

Project | docker-image|ghcr.io/dexidp/dex
Path | ghcr.io/dexidp/dex:v2.32.0/dexidp/dex
Package Manager | apk

## Out-of-bounds Write

critical severity

- Package Manager: alpine:3.16
- Vulnerable module: zlib/zlib
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 and zlib/zlib@1.2.12-r1

### Detailed paths

- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › zlib/zlib@1.2.12-r1
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › apk-tools/apk-tools@2.12.9-r3 › zlib/zlib@1.2.12-r1

## NVD Description

Note: Versions mentioned in the description apply to the upstream `zlib` package. See `How to fix?` for `Alpine:3.16` relevant versions.

zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).

## Remediation

Upgrade `Alpine:3.16` `zlib` to version 1.2.12-r2 or higher.

## References

- MISC
- MISC
- MISC
- MISC
- MLIST
- MISC
- MLIST
- FEDORA
- DEBIAN
- FEDORA
- CONFIRM
- FEDORA

More about this vulnerability

## Use After Free

high severity

- Package Manager: alpine:3.16
- Vulnerable module: busybox/busybox
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 and busybox/busybox@1.35.0-r13

### Detailed paths

- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › busybox/busybox@1.35.0-r13
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › alpine-baselayout/alpine-baselayout-data@3.2.0-r20 › alpine-baselayout/alpine-baselayout@3.2.0-r20 › busybox/busybox@1.35.0-r13
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › busybox/ssl_client@1.35.0-r13

## NVD Description

Note: Versions mentioned in the description apply to the upstream `busybox` package. See `How to fix?` for `Alpine:3.16` relevant versions.

A use-after-free in Busybox 1.35-x's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the copyvar function.

## Remediation

Upgrade `Alpine:3.16` `busybox` to version 1.35.0-r15 or higher.

## References

- MISC

More about this vulnerability

## Inadequate Encryption Strength

medium severity

- Package Manager: alpine:3.16
- Vulnerable module: openssl/libcrypto1.1
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 and openssl/libcrypto1.1@1.1.1o-r0

### Detailed paths

- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › openssl/libcrypto1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › openssl/libssl1.1@1.1.1o-r0 › openssl/libcrypto1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › apk-tools/apk-tools@2.12.9-r3 › openssl/libcrypto1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › busybox/ssl_client@1.35.0-r13 › openssl/libcrypto1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › openssl/libssl1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › apk-tools/apk-tools@2.12.9-r3 › openssl/libssl1.1@1.1.1o-r0
- Introduced through: docker-image|ghcr.io/dexidp/dex@v2.32.0 › busybox/ssl_client@1.35.0-r13 › openssl/libssl1.1@1.1.1o-r0

## NVD Description

Note: Versions mentioned in the description apply to the upstream `openssl` package. See `How to fix?` for `Alpine:3.16` relevant versions.

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was preexisting in the memory that wasn't written. In the special case of "in place" encryption, sixteen bytes of the plaintext would be revealed. Since OpenSSL does not support OCB based cipher suites for TLS and DTLS, they are both unaffected. Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4). Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p).

## Remediation

Upgrade `Alpine:3.16` `openssl` to version 1.1.1q-r0 or higher.

## References

- CONFIRM
- CONFIRM
- CONFIRM
- FEDORA
- FEDORA
- CONFIRM
- FEDORA

More about this vulnerability