Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

March 2024 XZ Utils Disclosure: What It Exposed About Software Inventories

The March 2024 XZ Utils disclosure showed why software teams need version, origin and deployment evidence for the systems behind production.

On 29 March 2024, Red Hat published CVE-2024-3094 after malicious code was found in distributed XZ Utils source archives. The disclosure concerned releases 5.6.0 and 5.6.1. XZ Utils provides compression functionality, and the affected material could be present through operating system packages rather than through a dependency an application team selected directly. Red Hat’s advisory says no versions of Red Hat Enterprise Linux were affected. That statement describes Red Hat’s product scope. Teams using other distributions needed the guidance for their own package and environment.

Start with the release and its origin

The first operational question was where the affected packages might be present. A useful inventory recorded the package, version, distribution, source and time of installation. That made it possible to distinguish an affected or uncertain build from a product that the relevant vendor had excluded. Teams also needed to know where the software had run, including in development images, continuous integration workers and temporary test environments. A count of production servers alone could miss important parts of a software delivery chain.

Organisations assessing the disclosure needed to follow the affected distribution’s response guidance. If they found an affected environment, the incident owner could determine which approved steps were required, preserve useful evidence and consider the consequences for systems or information reachable from that environment. If scope was uncertain, the record needed to identify what was missing and which team could obtain it. Evidence of package presence, evidence of execution and evidence of further compromise are distinct findings.

A build worker can matter even when production is unaffected

Build workers and temporary environments can hold access needed to fetch code, publish images or interact with release systems. A software company should know what an affected worker built, whether its output was promoted and which records can show what was used. Deployment logs, image identifiers and source records can help connect the worker to specific artefacts. A release name by itself may refer to more than one build if the release was reproduced or an image reference changed.

One useful exercise is to choose a recent release and ask the engineering team to identify the build image and package source from retained records. Then ask which jobs ran the image and which outputs were approved for deployment. Use an internal test release where possible. If the chain cannot be reconstructed, identify the first missing record. An improvement might involve capturing a resolved image identifier, retaining a dependency list or preserving the approvals that connect a build to a deployment.

Put the response decision into the release process

Agree who can pause a build or prevent an image from being promoted after a supplier disclosure. Give that person a route to verify the advisory and explain the affected scope. Have the release owner identify a trusted alternative and confirm how ordinary work will continue. If a team rebuilds with a trusted source, retain evidence of the new build and verify the relevant service outcome. Review whether any old artefacts remain available to deployment tools after the replacement is approved.

NIST’s Secure Software Development Framework provides broader guidance for protecting software and responding to vulnerabilities. For a SaaS organisation, the lasting value of the XZ Utils disclosure is a practical test of those controls. Can the team determine what it consumed, identify where it ran and verify that an affected build is no longer in use? The answer depends on the records available during the incident, including those kept by platform teams and software suppliers.

Use a build or image retained outside the main release pipeline for the second exercise. That helps establish whether the inventory also covers tools maintained by a different team.

Prove build lineage through an emergency dependency replacement

Choose a harmless package in a test build and ask the engineering team to show the resolved version, distribution source and exact build image from which it was produced. The response should connect the software bill of materials or package inventory to the job identifier and the released artefact digest. Next, simulate an upstream security notice that requires replacing the package. Show where the pipeline blocks promotion of the older output and how an already produced container or installation image is located. Stopping new builds alone does not establish that an exposed artefact has been retired from a deployment registry.

The release manager must authorise the change, and the reviewer should inspect evidence of the replacement rather than simply accepting a successful pipeline badge. Test an isolated build runner that has not received the normal update and determine whether the inventory includes it. A useful exception record explains why a package cannot be changed immediately, what service depends on it and which compensating boundary is in place. This exercise applies the lessons of the March disclosure without claiming that the organisation used the malicious XZ Utils versions.

Sources and further reading

Strengthen your security with Next Defence

Next Defence can help engineering teams improve software inventory, build provenance and the process for responding to a supplier or dependency advisory.

Explore Application Security & DevSecOps ↗

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].