Changes to Bottlerocket's security advisory publication #4063
Replies: 2 comments
-
We have made a very minor modification to Bottlerocket <update author="yeazelm" from="yeazelm" status="final" type="security" version="1.4">
<id>GHSA-cjc2-5r85-qmvf</id>
<title>glibc CVE-2024-2961</title>
<issued date="2024-05-01T23:42:08Z"/>
<updated date="2024-05-01T23:42:08Z"/>
<severity>important</severity>
<description>A flaw was found in the glibc's iconv() function which may overflow the output buffer passed to it by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set, which may allow for out of bounds writes.</description>
<references>
<reference href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2961" id="CVE-2024-2961" type="cve"/>
<reference href="https://github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-cjc2-5r85-qmvf" id="GHSA-cjc2-5r85-qmvf" type="ghsa"/>
</references>
<pkglist>
<collection short="bottlerocket">
<name>Bottlerocket</name>
<!-- This version is the Bottlerocket release version !-->
<!-- Release is the commit from which this Bottlerocket release was built !-->
<package arch="x86_64" name="glibc" version="1.20.0" release="fcf71a47" epoch="0"/>
<package arch="aarch64" name="glibc" version="1.20.0" release="fcf71a47" epoch="0"/>
</collection>
</pkglist>
</update> For the 1.21.x releases and onwards, refer to the original communication of this issue in section "What changes are coming to Bottlerocket updateinfo.xml?" The full updateinfo document can be retrieved via |
Beta Was this translation helpful? Give feedback.
-
With Out of Tree Builds, Bottlerocket variants can be built by anyone. Variant repos may not necessarily follow the exact historical versioning of Bottlerocket, or the bottlerocket-core-kit. To avoid confusion with package versions, and to ensure consistency and produce an updateinfo.xml that may be applicable across different variant sources of Bottlerocket, the application inventory generated in Bottlerocket variant builds will be updated to use actual package versions. Feature request in Twoliter: bottlerocket-os/twoliter#364 With this, the data included in What changes are coming to Bottlerocket
|
Beta Was this translation helpful? Give feedback.
-
As part of adapting to the core kit migration (#4048) and the recent order of magnitude increase in kernel CVE assignments, the Bottlerocket project will be making the following changes:
updateinfo.xml
instead, which is the canonical source of this data. Bottlerocket’supdateinfo.xml
is published to https://advisories.bottlerocket.aws/updateinfo.xml.gzupdateinfo.xml
. These data sources will no longer remove the “bottlerocket-” prefix from package names, or replace package versions with Bottlerocket project versions. Instead, packages will reflect the names and versions from the corresponding RPM spec file.updateinfo.xml
will not be modified.What is
updateinfo.xml
?updateinfo.xml
is a special file used by software distributions to communicate security advisories for a collection of software and what updates one can take to patch said security advisories.What is
application-inventory.json
?Bottlerocket’s
application-inventory.json
file is a special file listing the packages installed in a Bottlerocket image. Since Bottlerocket variants do not include a package database, this file takes the place of that database for inventory/security scanners to identify the software included on a Bottlerocket host.What is the relationship between
application-inventory.json
andupdateinfo.xml
?The application inventory lists packages on a Bottlerocket instance.
updateinfo.xml
lists advisories affecting specific packages vended by Bottlerocket across its core-kit and variants. Comparisons between application inventory andupdateinfo.xml
allow developers and tools to draw conclusions about security advisory applicability to Bottlerocket instances.What does Bottlerocket
updateinfo.xml
look like today?Bottlerocket provides an
updateinfo.xml
with each new release of Bottlerocket variants. The historical<update>
s inupdateinfo.xml
must be preserved; it is an append-only document. Note theversion
of a<package>
below corresponds to a Bottlerocket release version.The full document can be found at https://advisories.bottlerocket.aws/updateinfo.xml.gz (note: some browsers do not recognize the content-type properly. Try
curl -L https://advisories.bottlerocket.aws/updateinfo.xml.gz -o updateinfo.xml.gz
).What changes are coming to Bottlerocket
updateinfo.xml
?The format of the file will remain the same. Any software which consumes Bottlerocket’s application inventory and evaluates it against
updateinfo.xml
will continue to behave as expected.What does Bottlerocket’s
application-inventory.json
look like today?What changes are coming to Bottlerocket application inventory?
The format of the file will remain the same. Any software which consumes Bottlerocket’s application inventory and evaluates it against
updateinfo.xml
will continue to behave as expected.Beta Was this translation helpful? Give feedback.
All reactions