Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2012-4454

Published: 10 October 2012

openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set world-writable permissions on arbitrary files via a symlink attack on the (1) .pkapi_xpk or (2) .pkcs11spinloc file in /tmp.

Notes

AuthorNote
mdeslaur
members of the pkcs11 group are considered trusted by upstream
and can escalate privileges to root even after the upstream
patches. See oss-security discussion.
Moving this to /var/lock/opencryptoki makes the problem worse
for members of the pkcs11 group as that directory wouldn't be
covered by symlink restrictions. Fix shouldn't be applied to
natty+
Fixing this in lucid would only prevent users who are not in
the pkcs11 group from escalating permissions. Since it is likely
that local users that have this installed are in that group,
this is downgraded to low.

Priority

Low

Status

Package Release Status
opencryptoki
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
bionic Not vulnerable
(3.4.1+dfsg-1)
cosmic Not vulnerable
(3.4.1+dfsg-1)
disco Not vulnerable
(3.4.1+dfsg-1)
hardy Ignored
(end of life)
lucid Ignored
(end of life)
natty Ignored
(end of life)
oneiric Ignored
(end of life)
precise Ignored
(end of life)
quantal Ignored
(end of life)
raring Ignored
(end of life)
saucy Ignored
(end of life)
trusty Does not exist
(trusty was needed)
upstream
Released (2.4.2)
utopic Ignored
(end of life)
vivid Ignored
(end of life)
wily Ignored
(end of life)
xenial Not vulnerable
(3.4.1+dfsg-1)
yakkety Ignored
(end of life)
zesty Ignored
(end of life)
Patches:
upstream: http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki;a=commitdiff;h=b7fcb3eb0319183348f1f4fb90ede4edd6487c30
upstream: http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki;a=commitdiff;h=58345488c9351d9be9a4be27c8b407c2706a33a9
upstream: http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki;a=commitdiff;h=8a63b3b17d34718d0f8c7525f93b5eb3c623076a
upstream: http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki;a=commitdiff;h=5667edb52cd27b7e512f48f823b4bcc6b872ab15