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 rpm-ostree CVE-2024-2905 (world-readable /etc/[g]shadow[-]) #1705

Closed
jlebon opened this issue Apr 9, 2024 · 6 comments · Fixed by coreos/fedora-coreos-config#2950
Closed
Labels

Comments

@jlebon
Copy link
Member

jlebon commented Apr 9, 2024

@travier
Copy link
Member

travier commented Apr 9, 2024

@travier travier added kind/bug status/pending-testing-release Fixed upstream. Waiting on a testing release. status/pending-stable-release Fixed upstream and in testing. Waiting on stable release. status/pending-next-release Fixed upstream. Waiting on a next release. labels Apr 9, 2024
@dustymabe
Copy link
Member

Copying some info forward:

The underlying issue is related to coreos/rpm-ostree#4503, which was first released in rpm-ostree v2023.6.

That version was never released in Fedora, but v2023.7 was first in bodhi stable in early September 2023.

Fedora CoreOS versions were affected when rpm-ostree-2023.7-1 entered our CoreOS Assembler build container. Tracing our testing-devel stream the last good and first bad were:

  • 38.20230904.20.0 -> good
  • 38.20230906.20.1 -> bad

So the bad version of rpm-ostree got into CoreOS Assembler ~09/06/2023. Based on this I tested and here are the last good and first bad for each of our production streams:

  • stable
    • 38.20230819.3.0 -> good
    • 38.20230902.3.0 -> bad
  • testing
    • 38.20230902.2.0 -> good
    • 38.20230902.2.1 -> bad
  • next
    • 38.20230902.1.0 -> good
    • 38.20230902.1.1 -> bad

@dustymabe dustymabe reopened this Apr 9, 2024
@dustymabe dustymabe changed the title Fix CVE-2024-2905 (world-readable /etc/[g]shadow[-]) Fix rpm-ostree CVE-2024-2905 (world-readable /etc/[g]shadow[-]) Apr 9, 2024
@dustymabe
Copy link
Member

The fix for this went into next stream release 40.20240408.1.0. Please try out the new release and report issues.

@dustymabe
Copy link
Member

The fix for this went into testing stream release 39.20240407.2.0. Please try out the new release and report issues.

@dustymabe
Copy link
Member

The fix for this went into stable stream release 39.20240322.3.1.

@dustymabe dustymabe removed status/pending-testing-release Fixed upstream. Waiting on a testing release. status/pending-stable-release Fixed upstream and in testing. Waiting on stable release. status/pending-next-release Fixed upstream. Waiting on a next release. labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants