*** This bug is a security vulnerability ***

Public security bug reported:

From https://bugs.launchpad.net/ubuntu/+source/add-nvidia-
repositories/+bug/2089830/comments/5:

>  wget "$keyring_url" -O /tmp/cuda-keyring.deb
>  dpkg -i /tmp/cuda-keyring.deb
>  rm /tmp/cuda-keyring.deb
> 
> That's a classic predictable-name-in-tmp security issue.

I think there's kernel protection in Ubuntu that stops a user from
writing to a file in /tmp even if it has 666 permissions, so that might
stop this being exploitable in practice. However, it's still
unacceptable from a security perspective, and we must not rely on such
kernel protections.

Discover credit: Andreas Hasenack

** Affects: add-nvidia-repositories (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression-proposed

** Tags added: regression-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100494

Title:
  Misuse of /tmp could result in root privilege escalation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/add-nvidia-repositories/+bug/2100494/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to