Skip to content

Commit 2240409

Browse files
committed
refactor to align with latest improvements/filenames in 1.3
Signed-off-by: Nick Boldt <[email protected]>
1 parent 4ac7841 commit 2240409

7 files changed

+191
-65
lines changed

build/scripts/single-source-security-fixes.sh

Lines changed: 0 additions & 54 deletions
This file was deleted.

modules/release-notes/con-relnotes-fixed-issues.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[id='con-relnotes-fixed-issues_{context}']
2-
= Fixed issues in {product} {product-version} and 1.2.2
2+
= Fixed issues in {product} {product-version}
3+
4+
== Fixed issues in {product} 1.2.5
5+
6+
include::snip-fixed-security-issues-in-product-1.2.5.adoc[leveloffset=+2]
7+
8+
include::snip-fixed-security-issues-in-rpm-1.2.5.adoc[leveloffset=+2]
39

410
== Fixed issues in {product} 1.2.2
511

modules/release-notes/cve-list-1.2.5.txt renamed to modules/release-notes/list-fixed-security-issues-in-product-1.2.5.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,3 @@ CVE-2024-21529
77
CVE-2024-45590
88
CVE-2024-24791
99
CVE-2024-39249
10-
11-
# RPM updates from Freshmaker (RHIDP-4218)
12-
CVE-2024-37371
13-
CVE-2024-37370
14-
CVE-2024-6923
15-
CVE-2024-39331
16-
CVE-2024-45490
17-
CVE-2024-45491
18-
CVE-2024-45492
19-
CVE-2024-6119
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# RPM updates from Freshmaker (RHIDP-4218)
2+
CVE-2024-37371
3+
CVE-2024-37370
4+
CVE-2024-6923
5+
CVE-2024-39331
6+
CVE-2024-45490
7+
CVE-2024-45491
8+
CVE-2024-45492
9+
CVE-2024-6119
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (c) 2024 Red Hat, Inc.
4+
# This program, and the accompanying materials are made
5+
# available under the terms of the Apache Public License 2.0,
6+
# available at http://www.apache.org/licenses/
7+
#
8+
# SPDX-License-Identifier: Apache-2.0
9+
10+
# Single-source the release notes Fixed security issues section from Red Hat Security Data API.
11+
# See: https://docs.redhat.com/en/documentation/red_hat_security_data_api/1.0/html/red_hat_security_data_api/cve
12+
13+
# Fail and stop on first error
14+
set -e
15+
16+
# get the z-stream version from the bundle-version attribute. Note that while chart-version could be larger, this is the correct value for CVE tracking
17+
product_version="$(grep ':product-bundle-version:' artifacts/attributes.adoc | cut -d' ' -f2 )"
18+
19+
single_source_from_security_data () {
20+
sectionname="fixed-security-issues-in-${section}-${product_version}"
21+
dirname=$(dirname ${BASH_SOURCE})
22+
destination="${dirname}/snip-${sectionname}.adoc"
23+
list="${dirname}/list-${sectionname}.txt"
24+
# Assert that the list file exists.
25+
if [ ! -f ${list} ]
26+
then
27+
echo "ERROR: The ${list} file is missing. You must create it to proceed. For a given version, can collect the list of CVEs from a JIRA query like https://issues.redhat.com/issues/?jql=labels%3DSecurityTracking+and+project%3DRHIDP+and+fixversion%3D1.3.1 or list of Erratas from https://errata.devel.redhat.com/advisory/filters/4213"
28+
exit 1
29+
fi
30+
# Cleanup the destination files.
31+
rm -f "$destination"
32+
# Send output to the destination file.
33+
exec 3>&1 1>> "$destination"
34+
echo "= ${title}"
35+
for cve in $(cat ${list} | sort | uniq); do
36+
if [[ ${cve} != "#"* ]] && [[ $cve != "" ]]; then # skip commented and blank lines
37+
38+
# Start the list.
39+
echo "link:https://access.redhat.com/security/cve/$cve[$cve]::"
40+
# Call the API to return a list of details.
41+
# Red Hat is last if there is one.
42+
# Red Hat details is single line.
43+
# MITRE details are multiline.
44+
# We keep Red Hat details if present.
45+
# We keep only the first two lines on MITRE details.
46+
curl -s "https://access.redhat.com/hydra/rest/securitydata/cve/$cve.json" | jq -r '.details[-1]' | head -n 2
47+
# Add a separation
48+
echo ""
49+
done
50+
# Stop sending output to the destination file
51+
exec 1>&3 3>&-
52+
echo "include::${destination}[leveloffset=+2]"
53+
fi
54+
}
55+
56+
title="{product} dependency updates"
57+
section="product"
58+
single_source_from_security_data
59+
60+
title="RHEL 9 platform RPM updates"
61+
section="rpm"
62+
single_source_from_security_data
63+
64+
echo "INFO: Verify that the modules/release-notes/con-relnotes-fixed-issues.adoc file contains aforementioned required include statements."
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
= {product} dependency updates
2+
link:https://access.redhat.com/security/cve/CVE-2024-24790[CVE-2024-24790]::
3+
A flaw was found in the Go language standard library net/netip. The method Is*() (IsPrivate(), IsPublic(), etc) doesn't behave properly when working with IPv6 mapped to IPv4 addresses. The unexpected behavior can lead to integrity and confidentiality issues, specifically when these methods are used to control access to resources or data.
4+
5+
link:https://access.redhat.com/security/cve/CVE-2024-24791[CVE-2024-24791]::
6+
A flaw was found in Go. The net/http module mishandles specific server responses from HTTP/1.1 client requests. This issue may render a connection invalid and cause a denial of service.
7+
8+
link:https://access.redhat.com/security/cve/CVE-2024-35255[CVE-2024-35255]::
9+
A flaw was found in the Azure identity library at github.com/Azure/azure-sdk-for-go/sdk/azidentity. This issue allows an elevation of privileges.
10+
11+
link:https://access.redhat.com/security/cve/CVE-2024-37891[CVE-2024-37891]::
12+
A flaw was found in urllib3, an HTTP client library for Python. In certain configurations, urllib3 does not treat the `Proxy-Authorization` HTTP header as one carrying authentication material. This issue results in not stripping the header on cross-origin redirects.
13+
14+
link:https://access.redhat.com/security/cve/CVE-2024-39008[CVE-2024-39008]::
15+
A flaw was found in the fast-loops Node.js package. This flaw allows an attacker to alter the behavior of all objects inheriting from the affected prototype by passing arguments to the objectMergeDeep function crafted with the built-in property: __proto__. This issue can potentially lead to a denial of service, remote code execution, or Cross-site scripting.
16+
17+
link:https://access.redhat.com/security/cve/CVE-2024-39249[CVE-2024-39249]::
18+
A flaw was found in the async Node.js package. A Regular expression Denial of Service (ReDoS) attack can potentially be triggered via the autoinject function while parsing specially crafted input.
19+
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
= RHEL 9 platform RPM updates
2+
link:https://access.redhat.com/security/cve/CVE-2023-52439[CVE-2023-52439]::
3+
A flaw was found in the Linux kernel’s uio subsystem. A use-after-free memory flaw in the uio_open functionality allows a local user to crash or escalate their privileges on the system.
4+
5+
link:https://access.redhat.com/security/cve/CVE-2023-52884[CVE-2023-52884]::
6+
In the Linux kernel, the following vulnerability has been resolved:
7+
Input: cyapa - add missing input core locking to suspend/resume functions
8+
9+
link:https://access.redhat.com/security/cve/CVE-2024-26739[CVE-2024-26739]::
10+
A use-after-free flaw was found in net/sched/act_mirred.c in the Linux kernel. This may result in a crash.
11+
12+
link:https://access.redhat.com/security/cve/CVE-2024-26929[CVE-2024-26929]::
13+
In the Linux kernel, the following vulnerability has been resolved:
14+
scsi: qla2xxx: Fix double free of fcport
15+
16+
link:https://access.redhat.com/security/cve/CVE-2024-26930[CVE-2024-26930]::
17+
A vulnerability was found in the Linux kernel. A potential double-free in the pointer ha->vp_map exists in the Linux kernel in drivers/scsi/qla2xxx/qla_os.c.
18+
19+
link:https://access.redhat.com/security/cve/CVE-2024-26931[CVE-2024-26931]::
20+
In the Linux kernel, the following vulnerability has been resolved:
21+
scsi: qla2xxx: Fix command flush on cable pull
22+
23+
link:https://access.redhat.com/security/cve/CVE-2024-26947[CVE-2024-26947]::
24+
A flaw was found in the Linux kernel’s ARM memory management functionality, where certain memory layouts cause a kernel panic. This flaw allows an attacker who can specify or alter memory layouts to cause a denial of service.
25+
26+
link:https://access.redhat.com/security/cve/CVE-2024-26991[CVE-2024-26991]::
27+
A flaw was found in the Linux Kernel. A lpage_info overflow can occur when checking attributes. This may lead to a crash.
28+
29+
link:https://access.redhat.com/security/cve/CVE-2024-27022[CVE-2024-27022]::
30+
In the Linux kernel, the following vulnerability has been resolved:
31+
fork: defer linking file vma until vma is fully initialized
32+
33+
link:https://access.redhat.com/security/cve/CVE-2024-35895[CVE-2024-35895]::
34+
In the Linux kernel, the following vulnerability has been resolved:
35+
bpf, sockmap: Prevent lock inversion deadlock in map delete elem
36+
37+
link:https://access.redhat.com/security/cve/CVE-2024-36016[CVE-2024-36016]::
38+
In the Linux kernel, the following vulnerability has been resolved:
39+
tty: n_gsm: fix possible out-of-bounds in gsm0_receive()
40+
41+
link:https://access.redhat.com/security/cve/CVE-2024-36899[CVE-2024-36899]::
42+
In the Linux kernel, the following vulnerability has been resolved:
43+
gpiolib: cdev: Fix use after free in lineinfo_changed_notify
44+
45+
link:https://access.redhat.com/security/cve/CVE-2024-38562[CVE-2024-38562]::
46+
In the Linux kernel, the following vulnerability has been resolved:
47+
wifi: nl80211: Avoid address calculations via out of bounds array indexing
48+
49+
link:https://access.redhat.com/security/cve/CVE-2024-38570[CVE-2024-38570]::
50+
In the Linux kernel, the following vulnerability has been resolved:
51+
gfs2: Fix potential glock use-after-free on unmount
52+
53+
link:https://access.redhat.com/security/cve/CVE-2024-38573[CVE-2024-38573]::
54+
A NULL pointer dereference flaw was found in cppc_cpufreq_get_rate() in the Linux kernel. This issue may result in a crash.
55+
56+
link:https://access.redhat.com/security/cve/CVE-2024-38601[CVE-2024-38601]::
57+
In the Linux kernel, the following vulnerability has been resolved:
58+
ring-buffer: Fix a race between readers and resize checks
59+
60+
link:https://access.redhat.com/security/cve/CVE-2024-38615[CVE-2024-38615]::
61+
In the Linux kernel, the following vulnerability has been resolved:
62+
cpufreq: exit() callback is optional
63+
64+
link:https://access.redhat.com/security/cve/CVE-2024-39331[CVE-2024-39331]::
65+
A flaw was found in Emacs. Arbitrary shell commands can be executed without prompting when an Org mode file is opened or when the Org mode is enabled, when Emacs is used as an email client, this issue can be triggered when previewing email attachments.
66+
67+
link:https://access.redhat.com/security/cve/CVE-2024-40984[CVE-2024-40984]::
68+
In the Linux kernel, the following vulnerability has been resolved:
69+
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
70+
71+
link:https://access.redhat.com/security/cve/CVE-2024-41071[CVE-2024-41071]::
72+
An out-of-bounds buffer overflow has been found in the Linux kernel’s mac80211 subsystem when scanning for SSIDs. Address calculation using out-of-bounds array indexing could result in an attacker crafting an exploit, resulting in the complete compromise of a system.
73+
74+
link:https://access.redhat.com/security/cve/CVE-2024-42225[CVE-2024-42225]::
75+
A potential flaw was found in the Linux kernel’s MediaTek WiFi, where it was reusing uninitialized data. This flaw allows a local user to gain unauthorized access to some data potentially.
76+
77+
link:https://access.redhat.com/security/cve/CVE-2024-42246[CVE-2024-42246]::
78+
In the Linux kernel, the following vulnerability has been resolved:
79+
net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
80+
81+
link:https://access.redhat.com/security/cve/CVE-2024-45490[CVE-2024-45490]::
82+
A flaw was found in libexpat's xmlparse.c component. This vulnerability allows an attacker to cause improper handling of XML data by providing a negative length value to the XML_ParseBuffer function.
83+
84+
link:https://access.redhat.com/security/cve/CVE-2024-45491[CVE-2024-45491]::
85+
An issue was found in libexpat’s internal dtdCopy function in xmlparse.c, It can have an integer overflow for nDefaultAtts on 32-bit platforms where UINT_MAX equals SIZE_MAX.
86+
87+
link:https://access.redhat.com/security/cve/CVE-2024-45492[CVE-2024-45492]::
88+
A flaw was found in libexpat's internal nextScaffoldPart function in xmlparse.c. It can have an integer overflow for m_groupSize on 32-bit platforms where UINT_MAX equals SIZE_MAX.
89+
90+
link:https://access.redhat.com/security/cve/CVE-2024-6119[CVE-2024-6119]::
91+
A flaw was found in OpenSSL. Applications performing certificate name checks (e.g., TLS clients checking server certificates) may attempt to read an invalid memory address resulting in abnormal termination of the application process.
92+

0 commit comments

Comments
 (0)