-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Coverage CMake targets and Codecov upload #176
Conversation
Conventional Commits Report
🚀 Conventional commits found. |
9baeee5
to
b9a8a60
Compare
This adds new targets for measuring unit test coverage that can be enabled with the CMake option ENABLE_COVERAGE. The GitHub Actions workflow now also generates the coverage report and uploads it to Codecov.
98c1096
to
d90eb34
Compare
🔍 Vulnerabilities of
|
digest | sha256:822d5fb6f261a1b587a536530a1d6efec92f51785a089109b47cfcf8303088be |
vulnerabilities | |
size | 59 MB |
packages | 193 |
📦 Base Image greenbone/gvm-libs:oldstable-edge
digest | sha256:2cc3efe7ab297e7391d5fd94eed36fc37b0f123eb7d03cb2cf1e63858116932e |
vulnerabilities |
gnutls28
|
Affected range | <3.7.1-5+deb11u5 |
Fixed version | 3.7.1-5+deb11u5 |
EPSS Score | 0.13% |
EPSS Percentile | 49th percentile |
Description
A vulnerability was found in GnuTLS, where a cockpit (which uses gnuTLS) rejects a certificate chain with distributed trust. This issue occurs when validating a certificate chain with cockpit-certificate-ensure. This flaw allows an unauthenticated, remote client or attacker to initiate a denial of service attack.
Affected range | <3.7.1-5+deb11u5 |
Fixed version | 3.7.1-5+deb11u5 |
EPSS Score | 0.82% |
EPSS Percentile | 82nd percentile |
Description
A vulnerability was found in GnuTLS. The response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from the response times of ciphertexts with correct PKCS#1 v1.5 padding. This issue may allow a remote attacker to perform a timing side-channel attack in the RSA-PSK key exchange, potentially leading to the leakage of sensitive data. CVE-2024-0553 is designated as an incomplete resolution for CVE-2023-5981.
glibc 2.31-13+deb11u10
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u10?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 0.11% |
EPSS Percentile | 44th percentile |
Description
In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by '(|)(\1\1)*' in grep, a different issue than CVE-2018-20796. NOTE: the software maintainer disputes that this is a vulnerability because the behavior occurs only with a crafted pattern
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 0.25% |
EPSS Percentile | 66th percentile |
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may guess the heap addresses of pthread_created thread. The component is: glibc. NOTE: the vendor's position is "ASLR bypass itself is not a vulnerability.
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 2.15% |
EPSS Percentile | 89th percentile |
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may bypass ASLR using cache of thread stack and heap. The component is: glibc. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 1.20% |
EPSS Percentile | 85th percentile |
Description
GNU Libc current is affected by: Re-mapping current loaded library with malicious ELF file. The impact is: In worst case attacker may evaluate privileges. The component is: libld. The attack vector is: Attacker sends 2 ELF files to victim and asks to run ldd on it. ldd execute code. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 0.33% |
EPSS Percentile | 71st percentile |
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may bypass stack guard protection. The component is: nptl. The attack vector is: Exploit stack buffer overflow vulnerability and use this bypass vulnerability to bypass stack guard. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 0.63% |
EPSS Percentile | 79th percentile |
Description
In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by '(\227|)(\1\1|t1|\\2537)+' in grep.
Affected range | >=2.31-13+deb11u10 |
Fixed version | Not Fixed |
EPSS Score | 0.82% |
EPSS Percentile | 82nd percentile |
Description
The glob implementation in the GNU C Library (aka glibc or libc6) allows remote authenticated users to cause a denial of service (CPU and memory consumption) via crafted glob expressions that do not match any pathnames, as demonstrated by glob expressions in STAT commands to an FTP daemon, a different vulnerability than CVE-2010-2632.
pcre3 2:8.39-13
(deb)
pkg:deb/debian/pcre3@2:8.39-13?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2:8.39-13 |
Fixed version | Not Fixed |
EPSS Score | 1.03% |
EPSS Percentile | 84th percentile |
Description
libpcre in PCRE before 8.43 allows a subject buffer over-read in JIT when UTF is disabled, and \X or \R has more than one fixed quantifier, a related issue to CVE-2019-20454.
Affected range | >=2:8.39-13 |
Fixed version | Not Fixed |
EPSS Score | 0.65% |
EPSS Percentile | 79th percentile |
Description
Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.
Affected range | >=2:8.39-13 |
Fixed version | Not Fixed |
EPSS Score | 0.65% |
EPSS Percentile | 79th percentile |
Description
Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 4) or possibly have unspecified other impact via a crafted file.
Affected range | >=2:8.39-13 |
Fixed version | Not Fixed |
EPSS Score | 0.08% |
EPSS Percentile | 36th percentile |
Description
In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call. NOTE: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is used
Affected range | >=2:8.39-13 |
Fixed version | Not Fixed |
EPSS Score | 0.37% |
EPSS Percentile | 73rd percentile |
Description
In PCRE 8.41, the OP_KETRMAX feature in the match function in pcre_exec.c allows stack exhaustion (uncontrolled recursion) when processing a crafted regular expression.
openldap 2.4.57+dfsg-3+deb11u1
(deb)
pkg:deb/debian/[email protected]%2Bdfsg-3%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.4.57+dfsg-3+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.16% |
EPSS Percentile | 53rd percentile |
Description
libldap in certain third-party OpenLDAP packages has a certificate-validation flaw when the third-party package is asserting RFC6125 support. It considers CN even when there is a non-matching subjectAltName (SAN). This is fixed in, for example, openldap-2.4.46-10.el8 in Red Hat Enterprise Linux.
Affected range | >=2.4.57+dfsg-3+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.41% |
EPSS Percentile | 74th percentile |
Description
contrib/slapd-modules/nops/nops.c in OpenLDAP through 2.4.45, when both the nops module and the memberof overlay are enabled, attempts to free a buffer that was allocated on the stack, which allows remote attackers to cause a denial of service (slapd crash) via a member MODDN operation.
Affected range | >=2.4.57+dfsg-3+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 10th percentile |
Description
slapd in OpenLDAP 2.4.45 and earlier creates a PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for PID file modification before a root script executes a "kill
cat /pathname
" command, as demonstrated by openldap-initscript.
Affected range | >=2.4.57+dfsg-3+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.29% |
EPSS Percentile | 69th percentile |
Description
The nss_parse_ciphers function in libraries/libldap/tls_m.c in OpenLDAP does not properly parse OpenSSL-style multi-keyword mode cipher strings, which might cause a weaker than intended cipher to be used and allow remote attackers to have unspecified impact via unknown vectors.
sqlite3 3.34.1-3
(deb)
pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=3.34.1-3 |
Fixed version | Not Fixed |
EPSS Score | 0.25% |
EPSS Percentile | 66th percentile |
Description
SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.
Affected range | >=3.34.1-3 |
Fixed version | Not Fixed |
EPSS Score | 0.22% |
EPSS Percentile | 61st percentile |
Description
A Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.
Affected range | >=3.34.1-3 |
Fixed version | Not Fixed |
EPSS Score | 0.43% |
EPSS Percentile | 75th percentile |
Description
A segmentation fault can occur in the sqlite3.exe command-line component of SQLite 3.36.0 via the idxGetTableInfo function when there is a crafted SQL query. NOTE: the vendor disputes the relevance of this report because a sqlite3.exe user already has full privileges (e.g., is intentionally allowed to execute commands). This report does NOT imply any problem in the SQLite library.
shadow 1:4.8.1-1
(deb)
pkg:deb/debian/shadow@1:4.8.1-1?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=1:4.8.1-1 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 5th percentile |
Description
shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).
Affected range | >=1:4.8.1-1 |
Fixed version | Not Fixed |
EPSS Score | 0.05% |
EPSS Percentile | 17th percentile |
Description
shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees
Affected range | >=1:4.8.1-1 |
Fixed version | Not Fixed |
EPSS Score | 0.13% |
EPSS Percentile | 48th percentile |
Description
initscripts in rPath Linux 1 sets insecure permissions for the /var/log/btmp file, which allows local users to obtain sensitive information regarding authentication attempts. NOTE: because sshd detects the insecure permissions and does not log certain events, this also prevents sshd from logging failed authentication attempts by remote attackers.
perl 5.32.1-4+deb11u3
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u3?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=5.32.1-4+deb11u3 |
Fixed version | Not Fixed |
EPSS Score | 0.29% |
EPSS Percentile | 69th percentile |
Description
HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available standalone on CPAN, has an insecure default TLS configuration where users must opt in to verify certificates.
Affected range | >=5.32.1-4+deb11u3 |
Fixed version | Not Fixed |
EPSS Score | 0.24% |
EPSS Percentile | 65th percentile |
Description
_is_safe in the File::Temp module for Perl does not properly handle symlinks.
krb5 1.18.3-6+deb11u4
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u4?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=1.18.3-6+deb11u4 |
Fixed version | Not Fixed |
EPSS Score | 0.10% |
EPSS Percentile | 41st percentile |
Description
An issue was discovered in MIT Kerberos 5 (aka krb5) through 1.16. There is a variable "dbentry->n_key_data" in kadmin/dbutil/dump.c that can store 16-bit data but unknowingly the developer has assigned a "u4" variable to it, which is for 32-bit data. An attacker can use this vulnerability to affect other artifacts of the database as we know that a Kerberos database dump file contains trusted data.
Affected range | >=1.18.3-6+deb11u4 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 9th percentile |
Description
In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can cause invalid memory reads during GSS message token handling by sending message tokens with invalid length fields.
Affected range | >=1.18.3-6+deb11u4 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 9th percentile |
Description
In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can modify the plaintext Extra Count field of a confidential GSS krb5 wrap token, causing the unwrapped token to appear truncated to the application.
util-linux 2.36.1-8+deb11u2
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u2?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.36.1-8+deb11u2 |
Fixed version | Not Fixed |
EPSS Score | 0.05% |
EPSS Percentile | 17th percentile |
Description
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.
tar 1.34+dfsg-1+deb11u1
(deb)
pkg:deb/debian/[email protected]%2Bdfsg-1%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=1.34+dfsg-1+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.63% |
EPSS Percentile | 79th percentile |
Description
Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow local users or remote attackers to gain privileges.
hiredis 0.14.1-1
(deb)
pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=0.14.1-1 |
Fixed version | Not Fixed |
EPSS Score | 3.45% |
EPSS Percentile | 92nd percentile |
Description
Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted
RESP
mult-bulk
protocol data. When parsingmulti-bulk
(array-like) replies, hiredis fails to check ifcount * sizeof(redisReply*)
can be represented inSIZE_MAX
. If it can not, and thecalloc()
call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the maxelements context option to a value small enough that no overflow is possible.
apt 2.2.4
(deb)
pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.2.4 |
Fixed version | Not Fixed |
EPSS Score | 0.16% |
EPSS Percentile | 53rd percentile |
Description
It was found that apt-key in apt, all versions, do not correctly validate gpg keys with the master keyring, leading to a potential man-in-the-middle attack.
gnupg2 2.2.27-2+deb11u2
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u2?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.2.27-2+deb11u2 |
Fixed version | Not Fixed |
EPSS Score | 0.05% |
EPSS Percentile | 17th percentile |
Description
GnuPG can be made to spin on a relatively small input by (for example) crafting a public key with thousands of signatures attached, compressed down to just a few KB.
openssl 1.1.1w-0+deb11u1
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=1.1.1w-0+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.07% |
EPSS Percentile | 29th percentile |
Description
OpenSSL 0.9.8i on the Gaisler Research LEON3 SoC on the Xilinx Virtex-II Pro FPGA uses a Fixed Width Exponentiation (FWE) algorithm for certain signature calculations, and does not verify the signature before providing it to a caller, which makes it easier for physically proximate attackers to determine the private key via a modified supply voltage for the microprocessor, related to a "fault-based attack."
libgcrypt20 1.8.7-6
(deb)
pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=1.8.7-6 |
Fixed version | Not Fixed |
EPSS Score | 0.19% |
EPSS Percentile | 57th percentile |
Description
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for Libgcrypt's ElGamal implementation.
coreutils 8.32-4
(deb)
pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=8.32-4 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 5th percentile |
Description
In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.
pcre2 10.36-2+deb11u1
(deb)
pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=10.36-2+deb11u1 |
Fixed version | Not Fixed |
EPSS Score | 0.05% |
EPSS Percentile | 21st percentile |
Description
Integer overflow vulnerability in pcre2test before 10.41 allows attackers to cause a denial of service or other unspecified impacts via negative input.
libxml2 2.9.10+dfsg-6.7+deb11u4
(deb)
pkg:deb/debian/[email protected]%2Bdfsg-6.7%2Bdeb11u4?os_distro=bullseye&os_name=debian&os_version=11
Affected range | >=2.9.10+dfsg-6.7+deb11u4 |
Fixed version | Not Fixed |
EPSS Score | 0.04% |
EPSS Percentile | 10th percentile |
Description
An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages with xmllint --htmlout can result in a buffer over-read in xmlHTMLPrintFileContext in xmllint.c.
What
This adds new targets for measuring unit test coverage that can be enabled with the CMake option ENABLE_COVERAGE.
The GitHub Actions workflow now also generates the coverage report and uploads it to Codecov.
Why
References
GEA-604