Skip to content
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

Smaller buffer_aggregate_xml #2278

Merged
merged 3 commits into from
Sep 5, 2024
Merged

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Aug 16, 2024

What

Move printing of COLUMN_INFO from buffer_aggregate_xml to a new function.

Why

First small step towards bringing the size of buffer_aggregate_xml under control.

Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

Copy link

github-actions bot commented Aug 16, 2024

🔍 Vulnerabilities of harbor-os.greenbone.net/community/gvmd:pr-2278

📦 Image Reference harbor-os.greenbone.net/community/gvmd:pr-2278
digestsha256:c767638040651294b843a9cb471dd7714810e2b4afc52aed4400665257e5fff7
vulnerabilitiescritical: 3 high: 2 medium: 2 low: 78 unspecified: 3
size246 MB
packages419
📦 Base Image greenbone/gvm-libs:oldstable-edge
digestsha256:c42497b65da084e05dd13c36634e60b8a66b804cd86ea7f57e478dcdf5915999
vulnerabilitiescritical: 0 high: 1 medium: 3 low: 37 unspecified: 1
critical: 3 high: 0 medium: 0 low: 3 expat 2.2.10-2+deb11u5 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u5?os_distro=bullseye&os_name=debian&os_version=11

critical : CVE--2024--45492

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

critical : CVE--2024--45491

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

critical : CVE--2024--45490

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

low : CVE--2024--28757

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile11th percentile
Description

libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

low : CVE--2023--52426

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile21st percentile
Description

libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.

low : CVE--2013--0340

Affected range>=2.2.10-2+deb11u5
Fixed versionNot Fixed
EPSS Score0.52%
EPSS Percentile77th percentile
Description

expat 2.1.0 and earlier does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

critical: 0 high: 1 medium: 1 low: 5 unspecified: 1systemd 247.3-7+deb11u5 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u5?os_distro=bullseye&os_name=debian&os_version=11

high : CVE--2023--50387

Affected range<247.3-7+deb11u6
Fixed version247.3-7+deb11u6
EPSS Score5.00%
EPSS Percentile93rd percentile
Description

Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the "KeyTrap" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.

medium : CVE--2023--7008

Affected range<247.3-7+deb11u6
Fixed version247.3-7+deb11u6
EPSS Score0.10%
EPSS Percentile43rd percentile
Description

A vulnerability was found in systemd-resolved. This issue may allow systemd-resolved to accept records of DNSSEC-signed domains even when they have no signature, allowing man-in-the-middles (or the upstream DNS resolver) to manipulate records.

low : CVE--2023--31439

Affected range>=247.3-7+deb11u5
Fixed versionNot Fixed
EPSS Score0.10%
EPSS Percentile41st percentile
Description

An issue was discovered in systemd 253. An attacker can modify the contents of past events in a sealed log file and then adjust the file such that checking the integrity shows no error, despite modifications. NOTE: the vendor reportedly sent "a reply denying that any of the finding was a security vulnerability."

low : CVE--2023--31438

Affected range>=247.3-7+deb11u5
Fixed versionNot Fixed
EPSS Score0.10%
EPSS Percentile41st percentile
Description

An issue was discovered in systemd 253. An attacker can truncate a sealed log file and then resume log sealing such that checking the integrity shows no error, despite modifications. NOTE: the vendor reportedly sent "a reply denying that any of the finding was a security vulnerability."

low : CVE--2023--31437

Affected range>=247.3-7+deb11u5
Fixed versionNot Fixed
EPSS Score0.09%
EPSS Percentile39th percentile
Description

An issue was discovered in systemd 253. An attacker can modify a sealed log file such that, in some views, not all existing and sealed log messages are displayed. NOTE: the vendor reportedly sent "a reply denying that any of the finding was a security vulnerability."

low : CVE--2020--13529

Affected range>=247.3-7+deb11u5
Fixed versionNot Fixed
EPSS Score0.14%
EPSS Percentile50th percentile
Description

An exploitable denial-of-service vulnerability exists in Systemd 245. A specially crafted DHCP FORCERENEW packet can cause a server running the DHCP client to be vulnerable to a DHCP ACK spoofing attack. An attacker can forge a pair of FORCERENEW and DCHP ACK packets to reconfigure the server.

low : CVE--2013--4392

Affected range>=247.3-7+deb11u5
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile5th percentile
Description

systemd, when updating file permissions, allows local users to change the permissions and SELinux security contexts for arbitrary files via a symlink attack on unspecified files.

unspecified : CVE--2023--50868

Affected range<247.3-7+deb11u6
Fixed version247.3-7+deb11u6
EPSS Score0.05%
EPSS Percentile18th percentile
Description

The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance is skipped) allows remote attackers to cause a denial of service (CPU consumption for SHA-1 computations) via DNSSEC responses in a random subdomain attack, aka the "NSEC3" issue. The RFC 5155 specification implies that an algorithm must perform thousands of iterations of a hash function in certain situations.

critical: 0 high: 1 medium: 0 low: 3 unspecified: 1python3.9 3.9.2-1 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

high : CVE--2024--6232

Affected range>=3.9.2-1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile11th percentile
Description

There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.

low : CVE--2022--37454

Affected range>=3.9.2-1
Fixed versionNot Fixed
EPSS Score3.09%
EPSS Percentile91st percentile
Description

The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

low : CVE--2021--28861

Affected range>=3.9.2-1
Fixed versionNot Fixed
EPSS Score0.22%
EPSS Percentile60th percentile
Description

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states "Warning: http.server is not recommended for production. It only implements basic security checks."

low : CVE--2020--27619

Affected range>=3.9.2-1
Fixed versionNot Fixed
EPSS Score0.69%
EPSS Percentile81st percentile
Description

In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.

unspecified : CVE--2024--8088

Affected range>=3.9.2-1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile14th percentile
Description

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

critical: 0 high: 0 medium: 1 low: 1 unbound 1.13.1-1+deb11u2 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u2?os_distro=bullseye&os_name=debian&os_version=11

medium : CVE--2024--43168

Affected range>=1.13.1-1+deb11u2
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile16th percentile
Description

A heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.

low : CVE--2024--43167

Affected range>=1.13.1-1+deb11u2
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile16th percentile
Description

A NULL pointer dereference flaw was found in the ub_ctx_set_fwd function in Unbound. This issue could allow an attacker who can invoke specific sequences of API calls to cause a segmentation fault. When certain API functions such as ub_ctx_set_fwd and ub_ctx_resolvconf are called in a particular order, the program attempts to read from a NULL pointer, leading to a crash. This issue can result in a denial of service by causing the application to terminate unexpectedly.

critical: 0 high: 0 medium: 0 low: 10 openssh 1:8.4p1-5+deb11u3 (deb)

pkg:deb/debian/openssh@1:8.4p1-5%2Bdeb11u3?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2023--51767

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile21st percentile
Description

OpenSSH through 9.6, when common types of DRAM are used, might allow row hammer attacks (for authentication bypass) because the integer value of authenticated in mm_answer_authpassword does not resist flips of a single bit. NOTE: this is applicable to a certain threat model of attacker-victim co-location in which the attacker has user privileges.

low : CVE--2021--36368

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.41%
EPSS Percentile74th percentile
Description

An issue was discovered in OpenSSH before 8.9. If a client is using public-key authentication with agent forwarding but without -oLogLevel=verbose, and an attacker has silently modified the server to support the None authentication option, then the user cannot determine whether FIDO authentication is going to confirm that the user wishes to connect to that server, or that the user wishes to allow that server to connect to a different server on the user's behalf. NOTE: the vendor's position is "this is not an authentication bypass, since nothing is being bypassed.

low : CVE--2020--15778

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.59%
EPSS Percentile79th percentile
Description

scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

low : CVE--2020--14145

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.33%
EPSS Percentile71st percentile
Description

The client side in OpenSSH 5.7 through 8.4 has an Observable Discrepancy leading to an information leak in the algorithm negotiation. This allows man-in-the-middle attackers to target initial connection attempts (where no host key for the server has been cached by the client). NOTE: some reports state that 8.5 and 8.6 are also affected.

low : CVE--2019--6110

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.42%
EPSS Percentile75th percentile
Description

In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-The-Middle attacker) can manipulate the client output, for example to use ANSI control codes to hide additional files being transferred.

low : CVE--2018--15919

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.26%
EPSS Percentile66th percentile
Description

Remotely observable behaviour in auth-gss2.c in OpenSSH through 7.8 could be used by remote attackers to detect existence of users on a target system when GSS2 is in use. NOTE: the discoverer states 'We understand that the OpenSSH developers do not want to treat such a username enumeration (or "oracle") as a vulnerability.'

low : CVE--2016--20012

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score2.11%
EPSS Percentile89th percentile
Description

OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product

low : CVE--2008--3234

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score1.15%
EPSS Percentile85th percentile
Description

sshd in OpenSSH 4 on Debian GNU/Linux, and the 20070303 OpenSSH snapshot, allows remote authenticated users to obtain access to arbitrary SELinux roles by appending a :/ (colon slash) sequence, followed by the role name, to the username.

low : CVE--2007--2768

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.26%
EPSS Percentile66th percentile
Description

OpenSSH, when using OPIE (One-Time Passwords in Everything) for PAM, allows remote attackers to determine the existence of certain user accounts, which displays a different response if the user account exists and is configured to use one-time passwords (OTP), a similar issue to CVE-2007-2243.

low : CVE--2007--2243

Affected range>=1:8.4p1-5+deb11u3
Fixed versionNot Fixed
EPSS Score0.72%
EPSS Percentile81st percentile
Description

OpenSSH 4.6 and earlier, when ChallengeResponseAuthentication is enabled, allows remote attackers to determine the existence of user accounts by attempting to authenticate via S/KEY, which displays a different response if the user account exists, a similar issue to CVE-2001-1483.

critical: 0 high: 0 medium: 0 low: 5 pcre3 2:8.39-13 (deb)

pkg:deb/debian/pcre3@2:8.39-13?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2019--20838

Affected range>=2:8.39-13
Fixed versionNot Fixed
EPSS Score1.03%
EPSS Percentile84th 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.

low : CVE--2017--7246

Affected range>=2:8.39-13
Fixed versionNot Fixed
EPSS Score0.65%
EPSS Percentile80th 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.

low : CVE--2017--7245

Affected range>=2:8.39-13
Fixed versionNot Fixed
EPSS Score0.65%
EPSS Percentile80th 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.

low : CVE--2017--16231

Affected range>=2:8.39-13
Fixed versionNot Fixed
EPSS Score0.08%
EPSS Percentile36th 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

low : CVE--2017--11164

Affected range>=2:8.39-13
Fixed versionNot Fixed
EPSS Score0.37%
EPSS Percentile73rd 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.

critical: 0 high: 0 medium: 0 low: 4 rpm 4.16.1.2+dfsg1-3 (deb)

pkg:deb/debian/[email protected]%2Bdfsg1-3?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2017--7501

Affected range>=4.16.1.2+dfsg1-3
Fixed versionNot Fixed
EPSS Score0.06%
EPSS Percentile26th percentile
Description

It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.

low : CVE--2017--7500

Affected range>=4.16.1.2+dfsg1-3
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile21st percentile
Description

It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.

low : CVE--2010--2199

Affected range>=4.16.1.2+dfsg1-3
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile5th percentile
Description

lib/fsm.c in RPM 4.8.0 and earlier does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade or deletion of the file in an RPM package removal, which might allow local users to bypass intended access restrictions by creating a hard link to a vulnerable file that has a POSIX ACL, a related issue to CVE-2010-2059.

low : CVE--2010--2198

Affected range>=4.16.1.2+dfsg1-3
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile5th percentile
Description

lib/fsm.c in RPM 4.8.0 and earlier does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade or deletion of the file in an RPM package removal, which might allow local users to gain privileges or bypass intended access restrictions by creating a hard link to a vulnerable file that has (1) POSIX file capabilities or (2) SELinux context information, a related issue to CVE-2010-2059.

critical: 0 high: 0 medium: 0 low: 4 texlive-bin 2020.20200327.54578-7+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2023--46051

Affected range>=2020.20200327.54578-7+deb11u1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

TeX Live 944e257 allows a NULL pointer dereference in texk/web2c/pdftexdir/tounicode.c. NOTE: this is disputed because it should be categorized as a usability problem.

low : CVE--2023--46048

Affected range>=2020.20200327.54578-7+deb11u1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

Tex Live 944e257 has a NULL pointer dereference in texk/web2c/pdftexdir/writet1.c. NOTE: this is disputed because it should be categorized as a usability problem.

low : CVE--2019--19601

Affected range>=2020.20200327.54578-7+deb11u1
Fixed versionNot Fixed
EPSS Score0.14%
EPSS Percentile51st percentile
Description

OpenDetex 2.8.5 has a Buffer Overflow in TexOpen in detex.l because of an incorrect sprintf.

low : CVE--2017--17513

Affected range>=2020.20200327.54578-7+deb11u1
Fixed versionNot Fixed
EPSS Score0.24%
EPSS Percentile62nd percentile
Description

TeX Live through 20170524 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, related to linked_scripts/context/stubs/unix/mtxrun, texmf-dist/scripts/context/stubs/mswin/mtxrun.lua, and texmf-dist/tex/luatex/lualibs/lualibs-os.lua.

critical: 0 high: 0 medium: 0 low: 4 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

low : CVE--2020--15719

Affected range>=2.4.57+dfsg-3+deb11u1
Fixed versionNot Fixed
EPSS Score0.16%
EPSS Percentile54th 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.

low : CVE--2017--17740

Affected range>=2.4.57+dfsg-3+deb11u1
Fixed versionNot Fixed
EPSS Score0.41%
EPSS Percentile74th 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.

low : CVE--2017--14159

Affected range>=2.4.57+dfsg-3+deb11u1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th 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.

low : CVE--2015--3276

Affected range>=2.4.57+dfsg-3+deb11u1
Fixed versionNot Fixed
EPSS Score0.42%
EPSS Percentile75th 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.

critical: 0 high: 0 medium: 0 low: 3 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

low : CVE--2019--19882

Affected range>=1:4.8.1-1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile5th 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).

low : CVE--2013--4235

Affected range>=1:4.8.1-1
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile18th percentile
Description

shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees

low : CVE--2007--5686

Affected range>=1:4.8.1-1
Fixed versionNot Fixed
EPSS Score0.14%
EPSS Percentile51st 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.

critical: 0 high: 0 medium: 0 low: 3 zziplib 0.13.62-3.3+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2018--7727

Affected range>=0.13.62-3.3+deb11u1
Fixed versionNot Fixed
EPSS Score0.10%
EPSS Percentile41st percentile
Description

An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.

low : CVE--2018--6542

Affected range>=0.13.62-3.3+deb11u1
Fixed versionNot Fixed
EPSS Score0.10%
EPSS Percentile43rd percentile
Description

In ZZIPlib 0.13.67, there is a bus error (when handling a disk64_trailer seek value) caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c.

low : CVE--2018--17828

Affected range>=0.13.62-3.3+deb11u1
Fixed versionNot Fixed
EPSS Score0.06%
EPSS Percentile25th percentile
Description

Directory traversal vulnerability in ZZIPlib 0.13.69 allows attackers to overwrite arbitrary files via a .. (dot dot) in a zip file, because of the function unzzip_cat in the bins/unzzipcat-mem.c file.

critical: 0 high: 0 medium: 0 low: 3 sqlite3 3.34.1-3 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2022--35737

Affected range>=3.34.1-3
Fixed versionNot Fixed
EPSS Score0.25%
EPSS Percentile66th 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.

low : CVE--2021--45346

Affected range>=3.34.1-3
Fixed versionNot Fixed
EPSS Score0.22%
EPSS Percentile61st 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.

low : CVE--2021--36690

Affected range>=3.34.1-3
Fixed versionNot Fixed
EPSS Score0.43%
EPSS Percentile75th 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.

critical: 0 high: 0 medium: 0 low: 2 elfutils 0.183-1 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2024--25260

Affected range>=0.183-1
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile16th percentile
Description

elfutils v0.189 was discovered to contain a NULL pointer dereference via the handle_verdef() function at readelf.c.

low : CVE--2021--33294

Affected range>=0.183-1
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile20th percentile
Description

In elfutils 0.183, an infinite loop was found in the function handle_symtab in readelf.c .Which allows attackers to cause a denial of service (infinite loop) via crafted file.

critical: 0 high: 0 medium: 0 low: 2 libpng1.6 1.6.37-3 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2021--4214

Affected range>=1.6.37-3
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile21st percentile
Description

A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.

low : CVE--2019--6129

Affected range>=1.6.37-3
Fixed versionNot Fixed
EPSS Score0.11%
EPSS Percentile44th percentile
Description

png_create_info_struct in png.c in libpng 1.6.36 has a memory leak, as demonstrated by pngcp. NOTE: a third party has stated "I don't think it is libpng's job to free this buffer.

critical: 0 high: 0 medium: 0 low: 2 samba 2:4.13.13+dfsg-1~deb11u6 (deb)

pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u6?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2021--20277

Affected range>=2:4.13.13+dfsg-1~deb11u6
Fixed versionNot Fixed
EPSS Score0.63%
EPSS Percentile79th percentile
Description

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

low : CVE--2020--27840

Affected range>=2:4.13.13+dfsg-1~deb11u6
Fixed versionNot Fixed
EPSS Score0.89%
EPSS Percentile83rd percentile
Description

A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.

critical: 0 high: 0 medium: 0 low: 2 libpcap 1.10.0-2 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2024--8006

Affected range>=1.10.0-2
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.

low : CVE--2023--7256

Affected range>=1.10.0-2
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile10th percentile
Description

In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.

critical: 0 high: 0 medium: 0 low: 2 perl 5.32.1-4+deb11u3 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u3?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2023--31486

Affected range>=5.32.1-4+deb11u3
Fixed versionNot Fixed
EPSS Score0.33%
EPSS Percentile71st 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.

low : CVE--2011--4116

Affected range>=5.32.1-4+deb11u3
Fixed versionNot Fixed
EPSS Score0.24%
EPSS Percentile65th percentile
Description

_is_safe in the File::Temp module for Perl does not properly handle symlinks.

critical: 0 high: 0 medium: 0 low: 1 texlive-base 2020.20210202-3 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2017--17513

Affected range>=2020.20210202-3
Fixed versionNot Fixed
EPSS Score0.24%
EPSS Percentile62nd percentile
Description

TeX Live through 20170524 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, related to linked_scripts/context/stubs/unix/mtxrun, texmf-dist/scripts/context/stubs/mswin/mtxrun.lua, and texmf-dist/tex/luatex/lualibs/lualibs-os.lua.

critical: 0 high: 0 medium: 0 low: 1 pixman 0.40.0-1.1~deb11u1 (deb)

pkg:deb/debian/[email protected]~deb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2023--37769

Affected range>=0.40.0-1.1~deb11u1
Fixed versionNot Fixed
EPSS Score0.06%
EPSS Percentile28th percentile
Description

stress-test master commit e4c878 was discovered to contain a FPE vulnerability via the component combine_inner at /pixman-combine-float.c.

critical: 0 high: 0 medium: 0 low: 1 glib2.0 2.66.8-1+deb11u4 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u4?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2012--0039

Affected range>=2.66.8-1+deb11u4
Fixed versionNot Fixed
EPSS Score0.16%
EPSS Percentile53rd percentile
Description

GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this issue may be disputed by the vendor; the existence of the g_str_hash function is not a vulnerability in the library, because callers of g_hash_table_new and g_hash_table_new_full can specify an arbitrary hash function that is appropriate for the application.

critical: 0 high: 0 medium: 0 low: 1 coreutils 8.32-4+b1 (deb)

pkg:deb/debian/[email protected]%2Bb1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2017--18018

Affected range>=8.32-4
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile5th 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.

critical: 0 high: 0 medium: 0 low: 1 pcre2 10.36-2+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2022--41409

Affected range>=10.36-2+deb11u1
Fixed versionNot Fixed
EPSS Score0.09%
EPSS Percentile37th 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.

critical: 0 high: 0 medium: 0 low: 1 cups 2.3.3op2-3+deb11u8 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u8?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2014--8166

Affected range>=2.3.3op2-3+deb11u8
Fixed versionNot Fixed
EPSS Score1.37%
EPSS Percentile87th percentile
Description

The browsing feature in the server in CUPS does not filter ANSI escape sequences from shared printer names, which might allow remote attackers to execute arbitrary code via a crafted printer name.

critical: 0 high: 0 medium: 0 low: 1 util-linux 2.36.1-8+deb11u2 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u2?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2022--0563

Affected range>=2.36.1-8+deb11u2
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile18th 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.

critical: 0 high: 0 medium: 0 low: 1 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

low : CVE--2024--34459

Affected range>=2.9.10+dfsg-6.7+deb11u4
Fixed versionNot Fixed
EPSS Score0.04%
EPSS Percentile11th 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.

critical: 0 high: 0 medium: 0 low: 1 libxslt 1.1.34-4+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2015--9019

Affected range>=1.1.34-4+deb11u1
Fixed versionNot Fixed
EPSS Score0.09%
EPSS Percentile39th percentile
Description

In libxslt 1.1.29 and earlier, the EXSLT math.random function was not initialized with a random seed during startup, which could cause usage of this function to produce predictable outputs.

critical: 0 high: 0 medium: 0 low: 1 openssl 1.1.1w-0+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2010--0928

Affected range>=1.1.1w-0+deb11u1
Fixed versionNot Fixed
EPSS Score0.07%
EPSS Percentile30th 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."

critical: 0 high: 0 medium: 0 low: 1 hiredis 0.14.1-1 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2021--32765

Affected range>=0.14.1-1
Fixed versionNot Fixed
EPSS Score3.45%
EPSS Percentile92nd 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 parsing multi-bulk (array-like) replies, hiredis fails to check if count * sizeof(redisReply*) can be represented in SIZE_MAX. If it can not, and the calloc() 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.

critical: 0 high: 0 medium: 0 low: 1 jansson 2.13.1-1.1 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2020--36325

Affected range>=2.13.1-1.1
Fixed versionNot Fixed
EPSS Score0.16%
EPSS Percentile53rd percentile
Description

An issue was discovered in Jansson through 2.13.1. Due to a parsing error in json_loads, there's an out-of-bounds read-access bug. NOTE: the vendor reports that this only occurs when a programmer fails to follow the API specification

critical: 0 high: 0 medium: 0 low: 1 gnutls28 3.7.1-5+deb11u6 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u6?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2011--3389

Affected range>=3.7.1-5+deb11u5
Fixed versionNot Fixed
EPSS Score0.85%
EPSS Percentile83rd percentile
Description

The SSL protocol, as used in certain configurations in Microsoft Windows and Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Opera, and other products, encrypts data by using CBC mode with chained initialization vectors, which allows man-in-the-middle attackers to obtain plaintext HTTP headers via a blockwise chosen-boundary attack (BCBA) on an HTTPS session, in conjunction with JavaScript code that uses (1) the HTML5 WebSocket API, (2) the Java URLConnection API, or (3) the Silverlight WebClient API, aka a "BEAST" attack.

critical: 0 high: 0 medium: 0 low: 1 apt 2.2.4 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2011--3374

Affected range>=2.2.4
Fixed versionNot Fixed
EPSS Score0.16%
EPSS Percentile54th 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.

critical: 0 high: 0 medium: 0 low: 1 freetype 2.10.4+dfsg-1+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdfsg-1%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2022--31782

Affected range>=2.10.4+dfsg-1+deb11u1
Fixed versionNot Fixed
EPSS Score0.07%
EPSS Percentile31st percentile
Description

ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.

critical: 0 high: 0 medium: 0 low: 1 tar 1.34+dfsg-1+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdfsg-1%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2005--2541

Affected range>=1.34+dfsg-1+deb11u1
Fixed versionNot Fixed
EPSS Score0.69%
EPSS Percentile81st 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.

critical: 0 high: 0 medium: 0 low: 1 krb5 1.18.3-6+deb11u5 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u5?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2018--5709

Affected range>=1.18.3-6+deb11u5
Fixed versionNot Fixed
EPSS Score0.10%
EPSS Percentile41st 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.

critical: 0 high: 0 medium: 0 low: 1 gnupg2 2.2.27-2+deb11u2 (deb)

pkg:deb/debian/[email protected]%2Bdeb11u2?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2022--3219

Affected range>=2.2.27-2+deb11u2
Fixed versionNot Fixed
EPSS Score0.05%
EPSS Percentile18th 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.

critical: 0 high: 0 medium: 0 low: 1 libgcrypt20 1.8.7-6 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2018--6829

Affected range>=1.8.7-6
Fixed versionNot Fixed
EPSS Score0.19%
EPSS Percentile57th 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.

critical: 0 high: 0 medium: 0 low: 1 zip 3.0-12 (deb)

pkg:deb/debian/[email protected]?os_distro=bullseye&os_name=debian&os_version=11

low : CVE--2018--13410

Affected range>=3.0-12
Fixed versionNot Fixed
EPSS Score0.29%
EPSS Percentile70th percentile
Description

Info-ZIP Zip 3.0, when the -T and -TT command-line options are used, allows attackers to cause a denial of service (invalid free and application crash) or possibly have unspecified other impact because of an off-by-one error. NOTE: it is unclear whether there are realistic scenarios in which an untrusted party controls the -TT value, given that the entire purpose of -TT is execution of arbitrary commands

critical: 0 high: 0 medium: 0 low: 0 unspecified: 1net-snmp 5.9+dfsg-4+deb11u1 (deb)

pkg:deb/debian/[email protected]%2Bdfsg-4%2Bdeb11u1?os_distro=bullseye&os_name=debian&os_version=11

unspecified : CVE--2024--26464

Affected range>=5.9+dfsg-4+deb11u1
Fixed versionNot Fixed
Description

net-snmp 5.9.4 contains a memory leak vulnerability in /net-snmp/apps/snmpvacm.c.

@mattmundell mattmundell marked this pull request as ready for review August 16, 2024 10:08
@mattmundell mattmundell requested a review from a team as a code owner August 16, 2024 10:08
@mattmundell mattmundell changed the title Smaller buffer aggregate xml Smaller buffer_aggregate_xml Aug 26, 2024
This function is already very long, and the if blocks around single
statements are making it more verbose. It's also more consistent,
because some were already like this.
@a-h-abdelsalam a-h-abdelsalam merged commit 484628c into main Sep 5, 2024
15 of 16 checks passed
@a-h-abdelsalam a-h-abdelsalam deleted the smaller-buffer_aggregate_xml branch September 5, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants