p PatchFirst

PatchFirst · Latest vulnerabilities

Network services stack vulnerabilities · Page 8

Vulnerabilities published for Network services in the last 30 days: 25. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Network services

Vulnerabilities: 186

  1. CVE-2023-0286

    High · CVSS 7.4EPSS 69.29%Fix available

    X.400 address type confusion in X.509 GeneralName

    There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most

    • Update to 1.0.1f-1ubuntu2.27+esm6
    • Update to 1.0.2g-1ubuntu4.20+esm6
    • Update to 1.0.2g-1ubuntu4.fips.4.20.6
    • Update to 1.0.2n-1ubuntu5.11
    • Update to 1.0.2zg
    • Update to 1.1.1-1ubuntu2.1~18.04.21
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.21
    • Update to 1.1.1f-1ubuntu2.17
    • Update to 1.1.1t
    • Update to 111.25.0
    • Update to 3.0.8
    • Update to 3.0.8-1
    • Update to 300.0.12
    • Update to 39.0.1
    Published Updated
  2. CVE-2023-0401

    High · CVSS 7.5EPSS 1.85%Fix available

    NULL dereference during PKCS7 data verification

    A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash. The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider. PKCS7 data is processed by the SMIME l

    • Update to 12.22.9~dfsg-1ubuntu3.3
    • Update to 3.0.2-0ubuntu1.8
    • Update to 3.0.8
    • Update to 3.0.8-1
    Published Updated
  3. CVE-2022-3996

    High · CVSS 7.5EPSS 1.31%Fix available

    X.509 Policy Constraints Double Locking

    If an X.509 certificate contains a malformed policy constraint and policy processing is enabled, then a write lock will be taken twice recursively. On some operating systems (most widely: Windows) this results in a denial of service when the affected process hangs. Policy processing being enabled on a publicly facing server is not considered to be a common setup. Policy processing is enabled by passing the `-policy' argument to the command line utilities or by calling the `X509_VERIFY_PARAM_set1_policies()' function. Update (31 March 2023): The description of the policy processing enablement was corrected based on CVE-2023-0466.

    • Update to 3.0.2-0ubuntu1.9
    • Update to 3.0.7-2
    Published Updated
  4. CVE-2022-3786

    High · CVSS 7.5EPSS 92.49%Fix available

    X.509 Email Address Variable Length Buffer Overflow

    A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). In a TLS client, this can be triggered by connecting

    • Update to 3.0.2-0ubuntu1.7
    • Update to 3.0.7
    • Update to 3.0.7-1
    Published Updated
  5. CVE-2022-3602

    High · CVSS 7.5EPSS 90.77%Fix available

    X.509 Email Address 4-byte Buffer Overflow

    A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitig

    • Update to 3.0.2-0ubuntu1.7
    • Update to 3.0.7-1
    Published Updated
  6. CVE-2022-3358

    High · CVSS 7.5EPSS 4.01%Public exploitFix available

    Using a Custom Cipher with NID_undef may lead to NULL encryption

    OpenSSL supports creating a custom cipher via the legacy EVP_CIPHER_meth_new() function and associated function calls. This function was deprecated in OpenSSL 3.0 and application authors are instead encouraged to use the new provider mechanism in order to implement custom ciphers. OpenSSL versions 3.0.0 to 3.0.5 incorrectly handle legacy custom ciphers passed to the EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() and EVP_CipherInit_ex2() functions (as well as other similarly named encryption and decryption initialisation functions). Instead of using the custom cipher directly it incorrectly tries to fetch an equivalent cipher from the available

    • Update to 3.0.2-0ubuntu1.7
    • Update to 3.0.7-1
    Published Updated
  7. CVE-2022-2097

    Medium · CVSS 5.3EPSS 4.9%Fix available

    AES OCB fails to encrypt some bytes

    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).

    • Update to 1.1.1-1ubuntu2.1~18.04.20
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.20
    • Update to 1.1.1f-1ubuntu2.16
    • Update to 1.1.1f-1ubuntu2.fips.16
    • Update to 12.22.9~dfsg-1ubuntu3.1
    • Update to 3.0.2-0ubuntu1.6
    • Update to 3.0.5-1
    Published Updated
  8. CVE-2022-2274

    Critical · CVSS 9.8EPSS 48.23%Fix available

    RSA implementation bug in AVX512IFMA instructions

    The OpenSSL 3.0.4 release introduced a serious bug in the RSA implementation for X86_64 CPUs supporting the AVX512IFMA instructions. This issue makes the RSA implementation with 2048 bit private keys incorrect on such machines and memory corruption will happen during the computation. As a consequence of the memory corruption an attacker may be able to trigger a remote code execution on the machine performing the computation. SSL/TLS servers or other servers using 2048 bit RSA private keys running on machines supporting AVX512IFMA instructions of the X86_64 architecture are affected by this issue.

    • Update to 3.0.4-2
    Published Updated
  9. CVE-2022-2068

    Critical · CVSS 9.8EPSS 96.39%Fix available

    The c_rehash script allows command injection

    In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.

    • Update to 1.0.1f-1ubuntu2.27+esm10
    • Update to 1.0.2g-1ubuntu4.20+esm5
    • Update to 1.0.2g-1ubuntu4.fips.4.20.3
    • Update to 1.0.2n-1ubuntu5.10
    • Update to 1.1.1-1ubuntu2.1~18.04.19
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.20
    • Update to 1.1.1f-1ubuntu2.15
    • Update to 1.1.1f-1ubuntu2.fips.16
    • Update to 3.0.4-1
    Published Updated
  10. CVE-2022-1473

    High · CVSS 7.5EPSS 4.68%Fix available

    Resource leakage when decoding certificates and keys

    The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occuppied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time. Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication. The function was added in the Ope

    • Update to 1.0.2g-1ubuntu4.20+esm3
    • Update to 1.0.2g-1ubuntu4.fips.4.20.3
    • Update to 3.0.2-0ubuntu1.1
    Published Updated
  11. CVE-2022-1434

    Medium · CVSS 5.9EPSS 1.23%Fix available

    Incorrect MAC key used in the RC4-MD5 ciphersuite

    The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that the modified data would still pass the MAC integrity check. Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint will always be rejected by the recipient and the connection will fail at that point. Many application protocols require data to be sent from the client to the server first. Therefore, in such a case, o

    • Update to 3.0.2-0ubuntu1.1
    Published Updated
  12. CVE-2022-1343

    Medium · CVSS 5.3EPSS 2.14%Fix available

    OCSP_basic_verify may incorrectly verify the response signing certificate

    The function `OCSP_basic_verify` verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of `OCSP_basic_verify` will not use the OCSP_NOCHECKS flag. In this case the `OCSP_basic_verify` function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "oc

    • Update to 3.0.2-0ubuntu1.1
    Published Updated
  13. CVE-2022-1292

    Critical · CVSS 9.8EPSS 82.61%Fix available

    The c_rehash script allows command injection

    The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).

    • Update to 0~20160408.ffea0a2c-2ubuntu0.2+esm3
    • Update to 1.0.1f-1ubuntu2.27+esm10
    • Update to 1.0.2g-1ubuntu4.20+esm3
    • Update to 1.0.2g-1ubuntu4.fips.4.20.3
    • Update to 1.0.2n-1ubuntu5.9
    • Update to 1.1.1-1ubuntu2.1~18.04.17
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.17
    • Update to 1.1.1f-1ubuntu2.13
    • Update to 1.1.1f-1ubuntu2.fips.13.1
    • Update to 1.1.1o-1
    Published Updated
  14. CVE-2022-0778

    High · CVSS 7.5EPSS 73.19%Public exploitFix available

    Infinite loop in BN_mod_sqrt() reachable when parsing certificates

    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. T

    • Update to 1.0.1f-1ubuntu2.27+esm5
    • Update to 1.0.2g-1ubuntu4.20+esm2
    • Update to 1.0.2g-1ubuntu4.fips.4.20.2
    • Update to 1.0.2n-1ubuntu5.8
    • Update to 1.1.1-1ubuntu2.1~18.04.15
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.15
    • Update to 1.1.1f-1ubuntu2.12
    • Update to 1.1.1f-1ubuntu2.fips.12
    • Update to 1.1.1n-1
    Published Updated
  15. CVE-2021-4160

    Medium · CVSS 5.9EPSS 3.77%Fix available

    BN_mod_exp may produce incorrect results on MIPS

    There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH are considered just feasible (although very difficult) because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such a

    • Update to 1.1.1m-1
    Published Updated
  16. CVE-2021-4044

    High · CVSS 7.5EPSS 50.1%Fix available

    Invalid handling of X509_verify_cert() internal errors in libssl

    Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error (for example out of memory). Such a negative return value is mishandled by OpenSSL and will cause an IO function (such as SSL_connect() or SSL_do_handshake()) to not indicate success and a subsequent call to SSL_get_error() to return the value SSL_ERROR_WANT_RETRY_VERIFY. This return value is only supposed to be returned by OpenSSL if the application has previously called SSL_CTX_set_cert_verify_callback(). Since most applications do not do this th

    • Update to 3.0.1-0ubuntu1
    Published Updated
  17. CVE-2021-3712

    High · CVSS 7.4EPSS 50.44%Fix available

    Read buffer overruns processing ASN.1 strings

    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 direc

    • Update to 0~20191122.bd85bf54-2ubuntu3.3
    • Update to 1.0.1f-1ubuntu2.27+esm4
    • Update to 1.0.2g-1ubuntu4.20+esm1
    • Update to 1.0.2g-1ubuntu4.fips.4.20.1
    • Update to 1.0.2n-1ubuntu5.7
    • Update to 1.1.1-1ubuntu2.1~18.04.13
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.13.2
    • Update to 1.1.1f-1ubuntu2.8
    • Update to 1.1.1l-1
    Published Updated
  18. CVE-2021-3711

    Critical · CVSS 9.8EPSS 87.82%Fix available

    SM2 Decryption Buffer Overflow

    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 fir

    • Update to 1.1.1-1ubuntu2.1~18.04.13
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.13.2
    • Update to 1.1.1f-1ubuntu2.8
    • Update to 1.1.1f-1ubuntu2.fips.7.2
    • Update to 1.1.1l-1
    • Update to 1.1.1l-1ubuntu1
    Published Updated
  19. CVE-2021-3450

    High · CVSS 7.4EPSS 18.34%Fix available

    CA certificate check bypass with X509_V_FLAG_X509_STRICT

    The X509_V_FLAG_X509_STRICT flag enables additional security checks of the certificates present in a certificate chain. It is not set by default. Starting from OpenSSL version 1.1.1h a check to disallow certificates in the chain that have explicitly encoded elliptic curve parameters was added as an additional strict check. An error in the implementation of this check meant that the result of a previous check to confirm that certificates in the chain are valid CA certificates was overwritten. This effectively bypasses the check that non-CA certificates must not be able to issue other certificates. If a "purpose" has been configured then there

    • Update to 1.1.1k-1
    Published Updated
  20. CVE-2021-3449

    Medium · CVSS 5.9EPSS 63.54%Fix available

    NULL pointer deref in signature_algorithms processing

    An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer dereference will result, leading to a crash and a denial of service attack. A server is only vulnerable if it has TLSv1.2 and renegotiation enabled (which is the default configuration). OpenSSL TLS clients are not impacted by this issue. All OpenSSL 1.1.1 versions are affected by this issue. Users of these versions should upgrade to Op

    • Update to 1.1.1-1ubuntu2.1~18.04.9
    • Update to 1.1.1-1ubuntu2.fips.2.1~18.04.9.1
    • Update to 1.1.1f-1ubuntu2.3
    • Update to 1.1.1f-1ubuntu2.fips.2.8
    • Update to 1.1.1f-1ubuntu2.fips.7
    • Update to 1.1.1k-1
    • Update to 10.18-0ubuntu0.18.04.1
    • Update to 12.8-0ubuntu0.20.04.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →