Skip to content

Commit 3480b1b

Browse files
committed
refactor to align with latest improvements/filenames in 1.3
Signed-off-by: Nick Boldt <[email protected]> switch to content from 1.2.5, including support for blank/comment lines Signed-off-by: Nick Boldt <[email protected]> remove embedded content for 1.2.5 Signed-off-by: Nick Boldt <[email protected]> adjust spacing Signed-off-by: Nick Boldt <[email protected]>
1 parent 7cdd003 commit 3480b1b

8 files changed

+109
-104
lines changed

artifacts/attributes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
:product-short: Developer Hub
1212
:product-very-short: RHDH
1313
:product-version: 1.2
14-
:product-bundle-version: 1.2.4
15-
:product-chart-version: 1.2.4
14+
:product-bundle-version: 1.2.5
15+
:product-chart-version: 1.2.5
1616
:product-backstage-version: 1.26.5
1717
:rhdeveloper-name: Red Hat Developer
1818
:rhel: Red Hat Enterprise Linux

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: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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}
33

44
== Fixed issues in {product} 1.2.2
55

@@ -220,45 +220,11 @@ With the release of the {product-short} 1.2.1 Helm chart, this is fixed.
220220

221221
== Fixed security issues
222222

223-
=== Fixed security issues in {product} 1.2.5
223+
== Fixed issues in {product} 1.2.5
224224

225-
This section lists fixed security issues with {product} 1.2.5:
225+
include::snip-fixed-security-issues-in-product-1.2.5.adoc[leveloffset=+2]
226226

227-
link:https://access.redhat.com/security/cve/CVE-2024-21529[CVE-2024-21529]::
228-
A flaw was found in the dset package. Affected versions of this package are vulnerable to Prototype Pollution via the dset function due to improper user input sanitization. This vulnerability allows the attacker to inject a malicious object property using the built-in Object property __proto__, which is recursively assigned to all the objects in the program.
229-
230-
link:https://access.redhat.com/security/cve/CVE-2024-45590[CVE-2024-45590]::
231-
A flaw was found in body-parser. This vulnerability causes denial of service via a specially crafted payload when the URL encoding is enabled.
232-
233-
link:https://access.redhat.com/security/cve/CVE-2024-24791[CVE-2024-24791]::
234-
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.
235-
236-
link:https://access.redhat.com/security/cve/CVE-2024-39249[CVE-2024-39249]::
237-
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.
238-
239-
link:https://access.redhat.com/security/cve/CVE-2024-37371[CVE-2024-37371]::
240-
A vulnerability was found in Kerberos. This flaw is due to an issue with message token handling.
241-
242-
link:https://access.redhat.com/security/cve/CVE-2024-37370[CVE-2024-37370]::
243-
A vulnerability was found in Kerberos. This flaw is due to an issue with message token handling.
244-
245-
link:https://access.redhat.com/security/cve/CVE-2024-6923[CVE-2024-6923]::
246-
A vulnerability was found in the email module that uses Python language. The email module doesn't properly quote new lines in email headers. This flaw allows an attacker to inject email headers that could, among other possibilities, add hidden email destinations or inject content into the email, impacting data confidentiality and integrity.
247-
248-
link:https://access.redhat.com/security/cve/CVE-2024-39331[CVE-2024-39331]::
249-
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.
250-
251-
link:https://access.redhat.com/security/cve/CVE-2024-45490[CVE-2024-45490]::
252-
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.
253-
254-
link:https://access.redhat.com/security/cve/CVE-2024-45491[CVE-2024-45491]::
255-
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.
256-
257-
link:https://access.redhat.com/security/cve/CVE-2024-45492[CVE-2024-45492]::
258-
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.
259-
260-
link:https://access.redhat.com/security/cve/CVE-2024-6119[CVE-2024-6119]::
261-
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.
227+
include::snip-fixed-security-issues-in-rpm-1.2.5.adoc[leveloffset=+2]
262228

263229
=== Fixed security issues in {product} 1.2.3
264230

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: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
if [[ $1 ]]; then product_version="$1"; else product_version="$(grep ':product-bundle-version:' artifacts/attributes.adoc | cut -d' ' -f2 )"; fi
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+
24+
list="${dirname}/list-${sectionname}.txt"
25+
# Assert that the list file exists.
26+
if [ ! -f ${list} ]
27+
then
28+
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"
29+
exit 1
30+
fi
31+
echo -e "= ${title}" > "$destination"
32+
while IFS="" read -r cve || [ -n "$cve" ]; do
33+
if [[ ${cve} != "#"* ]] && [[ $cve != "" ]]; then # skip commented and blank lines
34+
# Start the list.
35+
echo -e "\nlink:https://access.redhat.com/security/cve/$cve[$cve]::" >> "$destination"
36+
# Call the API to return a list of details.
37+
# Red Hat is last if there is one.
38+
# Red Hat details is single line.
39+
# MITRE details are multiline.
40+
# We keep Red Hat details if present.
41+
# We keep only the first two lines on MITRE details.
42+
curl -s "https://access.redhat.com/hydra/rest/securitydata/cve/$cve.json" | jq -r '.details[-1]' | head -n 2 >> "$destination"
43+
fi
44+
done < "$list"
45+
echo "include::${destination##*release-notes/}[leveloffset=+2]"
46+
}
47+
48+
title="{product} dependency updates"
49+
section="product"
50+
single_source_from_security_data
51+
52+
title="RHEL 9 platform RPM updates"
53+
section="rpm"
54+
single_source_from_security_data
55+
56+
echo "INFO: Verify that the modules/release-notes/con-relnotes-fixed-issues.adoc file contains aforementioned required include statements."
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= {product} dependency updates
2+
3+
link:https://access.redhat.com/security/cve/CVE-2024-21529[CVE-2024-21529]::
4+
A flaw was found in the dset package. Affected versions of this package are vulnerable to Prototype Pollution via the dset function due to improper user input sanitization. This vulnerability allows the attacker to inject a malicious object property using the built-in Object property __proto__, which is recursively assigned to all the objects in the program.
5+
6+
link:https://access.redhat.com/security/cve/CVE-2024-45590[CVE-2024-45590]::
7+
A flaw was found in body-parser. This vulnerability causes denial of service via a specially crafted payload when the URL encoding is enabled.
8+
9+
link:https://access.redhat.com/security/cve/CVE-2024-24791[CVE-2024-24791]::
10+
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.
11+
12+
link:https://access.redhat.com/security/cve/CVE-2024-39249[CVE-2024-39249]::
13+
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.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
= RHEL 9 platform RPM updates
2+
3+
link:https://access.redhat.com/security/cve/CVE-2024-37371[CVE-2024-37371]::
4+
A vulnerability was found in Kerberos. This flaw is due to an issue with message token handling.
5+
6+
link:https://access.redhat.com/security/cve/CVE-2024-37370[CVE-2024-37370]::
7+
A vulnerability was found in the MIT Kerberos 5 GSS krb5 wrap token, where an attacker can modify the plaintext Extra Count field, causing the unwrapped token to appear truncated to the application, occurs when the attacker alters the token data during transmission which can lead to improper handling of authentication tokens.
8+
9+
link:https://access.redhat.com/security/cve/CVE-2024-6923[CVE-2024-6923]::
10+
A vulnerability was found in the email module that uses Python language. The email module doesn't properly quote new lines in email headers. This flaw allows an attacker to inject email headers that could, among other possibilities, add hidden email destinations or inject content into the email, impacting data confidentiality and integrity.
11+
12+
link:https://access.redhat.com/security/cve/CVE-2024-39331[CVE-2024-39331]::
13+
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.
14+
15+
link:https://access.redhat.com/security/cve/CVE-2024-45490[CVE-2024-45490]::
16+
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.
17+
18+
link:https://access.redhat.com/security/cve/CVE-2024-45491[CVE-2024-45491]::
19+
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.
20+
21+
link:https://access.redhat.com/security/cve/CVE-2024-45492[CVE-2024-45492]::
22+
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.
23+
24+
link:https://access.redhat.com/security/cve/CVE-2024-6119[CVE-2024-6119]::
25+
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.

0 commit comments

Comments
 (0)