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

fix: change CVE-2024-3094 to match liblzma contain instead of endswith #245

Merged
merged 1 commit into from May 14, 2024

Conversation

apsega
Copy link
Contributor

@apsega apsega commented May 13, 2024

What type of PR is this?

/kind bug
/area rules
/area maturity-incubating

What this PR does / why we need it:

Some of the docs in the wild of how to reproduce XZ vulnerability relies on patching liblzma and having the filename with patch suffix, for example - liblzma.so.5.6.1.patch, thus this Falco rule doesn't pick this up. Changing rule to match contains string resolves the issue.

Some examples of who's using liblzma.so.5.6.1.patch name:

Signed-off-by: Edgaras <edgaras@apsega.lt>
@poiana poiana added dco-signoff: yes kind/bug Something isn't working area/rules area/maturity-incubating See the Rules Maturity Framework labels May 13, 2024
@poiana
Copy link

poiana commented May 13, 2024

Welcome @apsega! It looks like this is your first PR to falcosecurity/rules 🎉

@poiana poiana added the size/XS label May 13, 2024
@poiana poiana requested review from leodido and loresuso May 13, 2024 06:16
Copy link
Contributor

@darryk10 darryk10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good to me!

@poiana
Copy link

poiana commented May 13, 2024

LGTM label has been added.

Git tree hash: 56a2344a6ca08804aecca91738487a2421b8bc0d

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/milestone falco-0.38-rules

@poiana
Copy link

poiana commented May 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: apsega, darryk10, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Rules files suggestions

falco-incubating_rules.yaml

Comparing 7e46ad5ac85419be3d0ca5a96ce607e89c861565 with latest tag falco-incubating-rules-3.0.1

Minor changes:

  • Rule Backdoored library loaded into SSHD (CVE-2024-3094) has been added

Patch changes:

  • List falco_privileged_images has some item added or removed

@poiana poiana merged commit 29c41c4 into falcosecurity:main May 14, 2024
7 of 8 checks passed
@apsega apsega deleted the patch-1 branch May 14, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants