!zghijEASpYQWYFzriI:nixos.org

Hydra

368 Members
109 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Apr 2024
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
In reply to @janne.hess:helsinki-systems.de
@room You Hydra might have a XSS vulnerability, please check if you need to update: https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx
Does that in any way affect nixos users who use the distro-provided cache?
16:46:55
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
In reply to @janne.hess:helsinki-systems.de
@room You Hydra might have a XSS vulnerability, please check if you need to update: https://github.com/NixOS/hydra/security/advisories/GHSA-2p75-6g9f-pqgx
* Does that in any way affect nixos users who use the distro-provided cache? e.g. malicious cache?
16:49:44
@janne.hess:helsinki-systems.dedas_j
In reply to @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
Does that in any way affect nixos users who use the distro-provided cache? e.g. malicious cache?
It doesn't affect the cache, it's only an issue when looking at html files from the Hydra web interface
16:51:49
@rick:matrix.ciphernetics.nlRick (Mindavi)Merged the fixes in nixpkgs, doesn't seem like it'll hurt17:03:29
24 Apr 2024
@stablejoy:matrix.org@stablejoy:matrix.org changed their profile picture.08:59:22
@os:matrix.flyingcircus.ioosnyx (he/him)

I had wanted to use replaceRuntimeDependencies in a system config to hotfix the latest glibc CVE, but unfortunately Hydra fails to evaluate it due to
error: access to absolute path '/nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44' is forbidden in restricted mode.

I guess there's a good reason why Hydra uses restricted mode and I better don't just patch evalSettings.restrictEval = false;?

15:57:34
@casey:hubns.netcransomthere is probably a good reason, but back when i used hydra, i also patched that out for... reasons.16:01:28
@ma27:nicht-so.sexyma27
In reply to @os:matrix.flyingcircus.io

I had wanted to use replaceRuntimeDependencies in a system config to hotfix the latest glibc CVE, but unfortunately Hydra fails to evaluate it due to
error: access to absolute path '/nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44' is forbidden in restricted mode.

I guess there's a good reason why Hydra uses restricted mode and I better don't just patch evalSettings.restrictEval = false;?

I think the main reason was that h.n.o. is effectively evaluating untrusted Nix code and the devs wanted to have certain restrictions for that (e.g. being unable to fetch stuff from random URLs). I've seen it a few times that people patched it out in their overlays.
16:01:49
@os:matrix.flyingcircus.ioosnyx (he/him)The last time I looked (~1year ago), the effects of restricted mode weren't that greatly documented, neither in Nix nor what they cause in Hydra. So I'm always a bit wary about it.16:03:21
@ma27:nicht-so.sexyma27 not sure if much has changed about that...
But tests/functional/restricted.sh from the nix repo has a few test cases that may give a rough idea of what it does
16:08:05
@os:matrix.flyingcircus.ioosnyx (he/him) * The last time I looked (~1year ago), the effects of restricted mode weren't that greatly documented, neither in Nix nor what they cause in Hydra. So I'm always a bit weary about it.16:08:15
25 Apr 2024
@me:indeednotjames.com@me:indeednotjames.com left the room.03:33:20
@delroth:delroth.net@delroth:delroth.net left the room.14:43:29
@mjolnir:nixos.orgmjolnir banned @jonringer:matrix.org@jonringer:matrix.org (Banned until 2024/06/10 after deliberation of the Moderation team).21:11:58

Show newer messages


Back to Room ListRoom Version: 6