!ZRgXNaHrdpGqwUnGnj:nixos.org

NixOS Security Triage

700 Members
Coordination and triage of security issues in nixpkgs217 Servers

Load older messages


SenderMessageTime
5 Jul 2024
@raitobezarius:matrix.orgraitobezariusvia static analysis or some recipe to reproduce12:02:53
@raitobezarius:matrix.orgraitobezariusas soon as (a) is proved, yes, an advisory must be filled12:03:04
@septem9er:fairydust.spaceSeptem9er
In reply to @raitobezarius:matrix.org
(b) the user forcibly creates an unencrypted /boot with an encrypted / via manual partitioning
Yeah sure, it's less of an issue if it only applies to manual partitioning. However, the installer should not place secrets in the boot partition in this case. That is an issue.
12:03:23
@raitobezarius:matrix.orgraitobezariusthat's inherent to how this graphical installer works12:03:46
@raitobezarius:matrix.orgraitobezariuswhat is missing is an warning or an assertion12:04:17
@raitobezarius:matrix.orgraitobezariusbut given the current state of maintenance of things, this installer should honestly just retired12:04:40
@raitobezarius:matrix.orgraitobezarius * but given the current state of maintenance of things, this installer should honestly be just retired12:04:53
@septem9er:fairydust.spaceSeptem9er
In reply to @raitobezarius:matrix.org
that's inherent to how this graphical installer works
This definitly is not the case with calamares on other OSes. You should be allowed to have an unencryped boot with an encrypted root without the installer putting your secrets into the unencryped boot partition.
12:05:10
@raitobezarius:matrix.orgraitobezariusit's given a false sense of support to many folks and if people who are installing Heads are using it, it creates sad incidents like those12:05:17
@raitobezarius:matrix.orgraitobezarius
In reply to @septem9er:fairydust.space
This definitly is not the case with calamares on other OSes. You should be allowed to have an unencryped boot with an encrypted root without the installer putting your secrets into the unencryped boot partition.
that's not what i'm saying
12:05:28
@raitobezarius:matrix.orgraitobezarius * it has given a false sense of support to many folks and if people who are installing Heads are using it, it creates sad incidents like those12:06:25
@septem9er:fairydust.spaceSeptem9er
In reply to @raitobezarius:matrix.org
what is missing is an warning or an assertion

There is a warning, see this screenshot.

But it sound more like the general "unencryped boot partitons can be unsecure" than an "we will place your FDE secrets there".

12:06:53
@phileas:asra.grsyd installs gentoo (they/them) Please move to #security-discuss:nixos.org 12:07:07
@raitobezarius:matrix.orgraitobezariussorry, right12:07:22
@elvishjerricco:matrix.orgElvishJerricco joined the room.12:42:26
@elvishjerricco:matrix.orgElvishJerricco
In reply to @septem9er:fairydust.space

Hey,
it seems like there is an regression of CVE-2023-36476 in the Nixos-calamares-extension, aka. the graphical NixOS-Installer.
The commit fixing this was reverted for some reason. It seems like they wanted to fix it another way in this commit. I haven't really looked into what they try to do in this commit, however the commit message was the following:

Do not use crypto_keyfile.bin in UEFI, but leave BIOS the same.

Which doesn't really make sense to me, because the original CVE applied to BIOS systems mostly. So leaving BIOS systems the same wouldn't fix the issue.

Someone reported this here, I could reproduce this with the latest Nixos-GNOME ISO, with the following steps:

  1. Start the ISO on a BIOS (legacy) system / in BIOS mode
  2. Select manual partitioning in the installer
  3. Create an unencrypted legacy-boot partition with mountpoint /boot
  4. Create an encrypted root partition with mountpoint /

After the installation is done, there is an luks-keyfile in an zstd/cpio archive in /boot/kernels/***-secrets, which does open the root partition.

yea, the reason for that revert commit was that the original fix was wrong, so I just reverted and re-did it
12:45:20
@raitobezarius:matrix.orgraitobezarius discussions in #security-discuss:nixos.org ElvishJerricco 12:45:52
@terru:raccoon.collegeterru joined the room.13:41:22
@manuelbaerenz:matrix.org@manuelbaerenz:matrix.org left the room.16:10:18
@t:netrunner-vault.denope (backup) joined the room.16:40:16
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their display name from aleksana to aleksana (force me to bed after 18:00 UTC).18:59:08
7 Jul 2024
@1h0:matrix.org@1h0:matrix.org left the room.08:53:49
@hexa:lossy.networkhexahttps://securitylab.github.com/advisories/GHSL-2024-089_youtube-dl/18:51:25
8 Jul 2024
@zzantares:matrix.org@zzantares:matrix.org changed their display name from zzantares to demo-reset.06:00:22
@zzantares:matrix.org@zzantares:matrix.org removed their profile picture.06:00:31
@willbush:matrix.org@willbush:matrix.org joined the room.09:48:32
9 Jul 2024
@abbe:badti.me@abbe:badti.me left the room.15:17:12
@hexa:lossy.networkhexahttps://www.blastradius.fail/16:29:48
@hexa:lossy.networkhexa

Blast-RADIUS is a protocol vulnerability, and thus affects all RADIUS implementations using non-EAP authentication methods over UDP.

16:29:59
@swendel:curious.bio@swendel:curious.bio joined the room.19:45:00

Show newer messages


Back to Room ListRoom Version: 6