Vulnerabilities

67 via 85 paths

Dependencies

21

Source

Group 6 Copy Created with Sketch. Docker

Target OS

alpine:3.13.4
Test your Docker Hub image against our market leading vulnerability database Sign up for free
Severity
  • 14
  • 33
  • 15
  • 5
Status
  • 67
  • 0
  • 0

critical severity

Incorrect Default Permissions

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally widen the permissions for the target file, leaving the updated file accessible to more users than intended.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

critical severity

Exposure of Resource to Wrong Sphere

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r4

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r4 or higher.

References

critical severity

Improper Encoding or Escaping of Output

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r4

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r4 or higher.

References

critical severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

critical severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

critical severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

critical severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r3

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r3 or higher.

References

critical severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r4

critical severity

Buffer Overflow

  • Vulnerable module: openssl/libcrypto1.1
  • Introduced through: openssl/libcrypto1.1@1.1.1k-r0 and openssl/libssl1.1@1.1.1k-r0
  • Fixed in: 1.1.1l-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libcrypto1.1@1.1.1k-r0
  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libssl1.1@1.1.1k-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.13 relevant fixed versions and status.

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated. Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k).

Remediation

Upgrade Alpine:3.13 openssl to version 1.1.1l-r0 or higher.

References

critical severity

Out-of-bounds Write

  • Vulnerable module: zlib/zlib
  • Introduced through: zlib/zlib@1.2.11-r3
  • Fixed in: 1.2.12-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder zlib/zlib@1.2.11-r3

NVD Description

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

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.13 zlib to version 1.2.12-r2 or higher.

References

critical severity

Out-of-bounds Read

  • Vulnerable module: apk-tools/apk-tools
  • Introduced through: apk-tools/apk-tools@2.12.4-r0
  • Fixed in: 2.12.6-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder apk-tools/apk-tools@2.12.4-r0

NVD Description

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

libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.

Remediation

Upgrade Alpine:3.13 apk-tools to version 2.12.6-r0 or higher.

References

critical severity

Double Free

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it again.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.0-r0 or higher.

References

critical severity

Out-of-bounds Read

  • Vulnerable module: pcre2/pcre2
  • Introduced through: pcre2/pcre2@10.36-r0
  • Fixed in: 10.36-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder pcre2/pcre2@10.36-r0

NVD Description

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

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers.

Remediation

Upgrade Alpine:3.13 pcre2 to version 10.36-r1 or higher.

References

critical severity

Out-of-bounds Read

  • Vulnerable module: pcre2/pcre2
  • Introduced through: pcre2/pcre2@10.36-r0
  • Fixed in: 10.36-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder pcre2/pcre2@10.36-r0

NVD Description

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

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.

Remediation

Upgrade Alpine:3.13 pcre2 to version 10.36-r1 or higher.

References

high severity

CVE-2022-28391

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r8

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

BusyBox through 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compatible terminal. Alternatively, the attacker could choose to change the terminal's colors.

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r8 or higher.

References

high severity

Incorrect Calculation

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

high severity

Heap-based Buffer Overflow

  • Vulnerable module: git/git
  • Introduced through: git/git@2.30.2-r0
  • Fixed in: 2.30.6-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder git/git@2.30.2-r0

NVD Description

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

Git is an open source, scalable, distributed revision control system. git shell is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an int to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to execv(), it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to git shell as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling git shell access via remote logins is a viable short-term workaround.

Remediation

Upgrade Alpine:3.13 git to version 2.30.6-r0 or higher.

References

high severity

Missing Authentication for Critical Function

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

An improper authentication vulnerability exists in curl 7.33.0 to and including 7.82.0 which might allow reuse OAUTH2-authenticated connections without properly making sure that the connection was authenticated with the same credentials as set for this transfer. This affects SASL-enabled protocols: SMPTP(S), IMAP(S), POP3(S) and LDAP(S) (openldap only).

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r1 or higher.

References

high severity

Use After Free

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.77.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.

Remediation

Upgrade Alpine:3.13 curl to version 7.77.0-r0 or higher.

References

high severity

Use After Free

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r9

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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.13 busybox to version 1.32.1-r9 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r2 or higher.

References

high severity

Improper Ownership Management

  • Vulnerable module: git/git
  • Introduced through: git/git@2.30.2-r0
  • Fixed in: 2.30.5-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder git/git@2.30.2-r0

NVD Description

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

Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.

Remediation

Upgrade Alpine:3.13 git to version 2.30.5-r0 or higher.

References

high severity

Uncontrolled Search Path Element

  • Vulnerable module: git/git
  • Introduced through: git/git@2.30.2-r0
  • Fixed in: 2.30.3-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder git/git@2.30.2-r0

NVD Description

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

Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder C:\.git, which would be picked up by Git operations run supposedly outside a repository while searching for a Git directory. Git would then respect any config in said Git directory. Git Bash users who set GIT_PS1_SHOWDIRTYSTATE are vulnerable as well. Users who installed posh-gitare vulnerable simply by starting a PowerShell. Users of IDEs such as Visual Studio are vulnerable: simply creating a new project would already read and respect the config specified in C:\.git\config. Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash. The problem has been patched in Git for Windows v2.35.2. Users unable to upgrade may create the folder .git on all drives where Git commands are run, and remove read/write access from those folders as a workaround. Alternatively, define or extend GIT_CEILING_DIRECTORIES to cover the parent directory of the user profile, e.g. C:\Users if the user profile is located in C:\Users\my-user-name.

Remediation

Upgrade Alpine:3.13 git to version 2.30.3-r0 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: apk-tools/apk-tools
  • Introduced through: apk-tools/apk-tools@2.12.4-r0
  • Fixed in: 2.12.5-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder apk-tools/apk-tools@2.12.4-r0

NVD Description

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

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Remediation

Upgrade Alpine:3.13 apk-tools to version 2.12.5-r0 or higher.

References

high severity

Cleartext Transmission of Sensitive Information

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (--ssl-reqd on the command line orCURLOPT_USE_SSL set to CURLUSESSL_CONTROL or CURLUSESSL_ALL withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations withoutTLS contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.0-r0 or higher.

References

high severity

CVE-2022-27775

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

An information disclosure vulnerability exists in curl 7.65.0 to 7.82.0 are vulnerable that by using an IPv6 address that was in the connection pool but with a different zone id it could reuse a connection instead.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r1 or higher.

References

high severity

Improper Certificate Validation

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse.libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse if one of them matches the setup. However, several TLS andSSH settings were left out from the configuration match checks, making themmatch too easily.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

high severity

Loop with Unreachable Exit Condition ('Infinite Loop')

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

libcurl provides the CURLOPT_CERTINFO option to allow applications torequest details to be returned about a server's certificate chain.Due to an erroneous function, a malicious server could make libcurl built withNSS get stuck in a never-ending busy-loop when trying to retrieve thatinformation.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r3

high severity

Integer Overflow or Wraparound

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r4

high severity

Use After Free

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r8

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder expat/expat@2.2.10-r1

NVD Description

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

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

Remediation

Upgrade Alpine:3.13 expat to version 2.2.10-r8 or higher.

References

high severity

Loop with Unreachable Exit Condition ('Infinite Loop')

  • Vulnerable module: openssl/libcrypto1.1
  • Introduced through: openssl/libcrypto1.1@1.1.1k-r0 and openssl/libssl1.1@1.1.1k-r0
  • Fixed in: 1.1.1n-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libcrypto1.1@1.1.1k-r0
  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libssl1.1@1.1.1k-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.13 relevant fixed versions and status.

The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded in compressed form. It is possible to trigger the infinite loop by crafting a certificate that has invalid explicit curve parameters. Since certificate parsing happens prior to verification of the certificate signature, any process that parses an externally supplied certificate may thus be subject to a denial of service attack. The infinite loop can also be reached when parsing crafted private keys as they can contain explicit elliptic curve parameters. Thus vulnerable situations include: - TLS clients consuming server certificates - TLS servers consuming client certificates - Hosting providers taking certificates or private keys from customers - Certificate authorities parsing certification requests from subscribers - Anything else which parses ASN.1 elliptic curve parameters Also any other applications that use the BN_mod_sqrt() where the attacker can control the parameter values are vulnerable to this DoS issue. In the OpenSSL 1.0.2 version the public key is not parsed during initial parsing of the certificate which makes it slightly harder to trigger the infinite loop. However any operation which requires the public key from the certificate will trigger the infinite loop. In particular the attacker can use a self-signed certificate to trigger the loop during verification of the certificate signature. This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0. It was addressed in the releases of 1.1.1n and 3.0.2 on the 15th March 2022. Fixed in OpenSSL 3.0.2 (Affected 3.0.0,3.0.1). Fixed in OpenSSL 1.1.1n (Affected 1.1.1-1.1.1m). Fixed in OpenSSL 1.0.2zd (Affected 1.0.2-1.0.2zc).

Remediation

Upgrade Alpine:3.13 openssl to version 1.1.1n-r0 or higher.

References

high severity

Out-of-bounds Write

  • Vulnerable module: zlib/zlib
  • Introduced through: zlib/zlib@1.2.11-r3
  • Fixed in: 1.2.12-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder zlib/zlib@1.2.11-r3

NVD Description

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

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

Remediation

Upgrade Alpine:3.13 zlib to version 1.2.12-r0 or higher.

References

high severity

Out-of-bounds Read

  • Vulnerable module: openssl/libcrypto1.1
  • Introduced through: openssl/libcrypto1.1@1.1.1k-r0 and openssl/libssl1.1@1.1.1k-r0
  • Fixed in: 1.1.1l-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libcrypto1.1@1.1.1k-r0
  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libssl1.1@1.1.1k-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.13 relevant fixed versions and status.

ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own "d2i" functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure. However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the "data" and "length" fields in the ASN1_STRING array. This can also happen by using the ASN1_STRING_set0() function. Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the "data" field, then a read buffer overrun can occur. The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the X509_get1_email(), X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext). Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y).

Remediation

Upgrade Alpine:3.13 openssl to version 1.1.1l-r0 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

high severity

Use After Free

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

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

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple times and potentially with different algorithms. The number of acceptable "links" in this "decompression chain" was unbounded, allowing a malicious server to insert a virtually unlimited number of compression steps.The use of such a decompression chain could result in a "malloc bomb", makingcurl end up spending enormous amounts of allocated heap memory, or trying toand returning out of memory errors.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

medium severity

Improper Validation of Integrity Check Value

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.78.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML file.The metalink XML file points out to the client how to get the same contentfrom a set of different URLs, potentially hosted by different servers and theclient can then download the file from one or several of them. In a serial orparallel manner.If one of the servers hosting the contents has been breached and the contentsof the specific file on that server is replaced with a modified payload, curlshould detect this when the hash of the file mismatches after a completeddownload. It should remove the contents and instead try getting the contentsfrom another URL. This is not done, and instead such a hash mismatch is onlymentioned in text and the potentially malicious content is kept in the file ondisk.

Remediation

Upgrade Alpine:3.13 curl to version 7.78.0-r0 or higher.

References

medium severity

Insufficiently Protected Credentials

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

A insufficiently protected credentials vulnerability in fixed in curl 7.83.0 might leak authentication or cookie header data on HTTP redirects to the same host but another port number.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r1 or higher.

References

medium severity

Uncontrolled Recursion

  • Vulnerable module: expat/expat
  • Introduced through: expat/expat@2.2.10-r1
  • Fixed in: 2.2.10-r4

medium severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl >= 7.20.0 and <= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got before the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.0-r0 or higher.

References

medium severity

Out-of-bounds Write

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl < 7.84.0 does FTP transfers secured by krb5, it handles message verification failures wrongly. This flaw makes it possible for a Man-In-The-Middle attack to go unnoticed and even allows it to inject data to the client.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

medium severity

Insufficiently Protected Credentials

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r1

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

An insufficiently protected credentials vulnerability exists in curl 4.9 to and include curl 7.82.0 are affected that could allow an attacker to extract credentials when follows HTTP(S) redirects is used with authentication could leak credentials to other services that exist on different protocols or port numbers.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r1 or higher.

References

medium severity

CVE-2021-42375

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

An incorrect handling of a special element in Busybox's ash applet leads to denial of service when processing a crafted shell command, due to the shell mistaking specific characters for reserved characters. This may be used for DoS under rare conditions of filtered command input.

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

medium severity

Link Following

  • Vulnerable module: git/git
  • Introduced through: git/git@2.30.2-r0
  • Fixed in: 2.30.6-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder git/git@2.30.2-r0

NVD Description

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

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's $GIT_DIR/objects directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via --no-hardlinks). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the --recurse-submodules option. Git does not create symbolic links in the $GIT_DIR/objects directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the --local optimization when on a shared machine, either by passing the --no-local option to git clone or cloning from a URL that uses the file:// scheme. Alternatively, avoid cloning repositories from untrusted sources with --recurse-submodules or run git config --global protocol.file.allow user.

Remediation

Upgrade Alpine:3.13 git to version 2.30.6-r0 or higher.

References

medium severity

Out-of-bounds Read

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r7

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

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

An out-of-bounds heap read in Busybox's unlzma applet leads to information leak and denial of service when crafted LZMA-compressed input is decompressed. This can be triggered by any applet/format that

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r7 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.76.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl 7.1.1 to and including 7.75.0 is vulnerable to an "Exposure of Private Personal Information to an Unauthorized Actor" by leaking credentials in the HTTP Referer: header. libcurl does not strip off user credentials from the URL when automatically populating the Referer: HTTP request header field in outgoing HTTP requests, and therefore risks leaking sensitive data to the server that is the target of the second HTTP request.

Remediation

Upgrade Alpine:3.13 curl to version 7.76.0-r0 or higher.

References

medium severity

Insufficiently Protected Credentials

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.78.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl is instructed to get content using the metalink feature, and a user name and password are used to download the metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl will download or try to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.

Remediation

Upgrade Alpine:3.13 curl to version 7.78.0-r0 or higher.

References

medium severity

Use of Uninitialized Resource

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.78.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl supports the -t command line option, known as CURLOPT_TELNETOPTIONSin libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending NEW_ENV variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

Remediation

Upgrade Alpine:3.13 curl to version 7.78.0-r0 or higher.

References

medium severity

Use of a Broken or Risky Cryptographic Algorithm

  • Vulnerable module: openssl/libcrypto1.1
  • Introduced through: openssl/libcrypto1.1@1.1.1k-r0 and openssl/libssl1.1@1.1.1k-r0
  • Fixed in: 1.1.1q-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libcrypto1.1@1.1.1k-r0
  • Introduced through: caddy@2.4.0-beta.1-builder openssl/libssl1.1@1.1.1k-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.13 relevant fixed versions and status.

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.13 openssl to version 1.1.1q-r0 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r2

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

A malicious server can serve excessive amounts of Set-Cookie: headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on foo.example.com can set cookies that also would match for bar.example.com, making it it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second level domain using this method.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r2 or higher.

References

low severity

Authentication Bypass

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.76.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM a connection due to bad handling of TLS 1.3 session tickets. When using a HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server and then wrongly "short-cut" the host handshake. When confusing the tickets, a HTTPS proxy can trick libcurl to use the wrong session ticket resume for the host and thereby circumvent the server TLS certificate check and make a MITM attack to be possible to perform unnoticed. Note that such a malicious HTTPS proxy needs to provide a certificate that curl will accept for the MITMed server for an attack to work - unless curl has been told to ignore the server certificate check.

Remediation

Upgrade Alpine:3.13 curl to version 7.76.0-r0 or higher.

References

low severity

CVE-2022-35252

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.79.1-r3

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

When curl is used to retrieve and parse cookies from a HTTP(S) server, itaccepts cookies using control codes that when later are sent back to a HTTPserver might make the server return 400 responses. Effectively allowing a"sister site" to deny service to all siblings.

Remediation

Upgrade Alpine:3.13 curl to version 7.79.1-r3 or higher.

References

low severity

Use of Incorrectly-Resolved Name or Reference

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.78.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths case insensitively,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

Remediation

Upgrade Alpine:3.13 curl to version 7.78.0-r0 or higher.

References

low severity

Missing Initialization of Resource

  • Vulnerable module: curl/libcurl
  • Introduced through: curl/libcurl@7.74.0-r1
  • Fixed in: 7.77.0-r0

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder curl/libcurl@7.74.0-r1

NVD Description

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

curl 7.7 through 7.76.1 suffers from an information disclosure when the -t command line option, known as CURLOPT_TELNETOPTIONS in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEW_ENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server, resulting in potentially revealing sensitive internal information to the server using a clear-text network protocol.

Remediation

Upgrade Alpine:3.13 curl to version 7.77.0-r0 or higher.

References

low severity

ALPINE-13661

  • Vulnerable module: busybox/busybox
  • Introduced through: busybox/busybox@1.32.1-r5 and busybox/ssl_client@1.32.1-r5
  • Fixed in: 1.32.1-r8

Detailed paths

  • Introduced through: caddy@2.4.0-beta.1-builder busybox/busybox@1.32.1-r5
  • Introduced through: caddy@2.4.0-beta.1-builder busybox/ssl_client@1.32.1-r5

NVD Description

This vulnerability has not been analyzed by NVD yet.

Remediation

Upgrade Alpine:3.13 busybox to version 1.32.1-r8 or higher.