https://bugzilla.redhat.com/show_bug.cgi?id=2081494
Bug ID: 2081494 Summary: CVE-2022-1292 openssl: c_rehash script allows command injection Product: Security Response Hardware: All OS: Linux Status: NEW Component: vulnerability Keywords: Security Severity: medium Priority: medium Assignee: security-response-team@redhat.com Reporter: pdelbell@redhat.com CC: aos-bugs@redhat.com, asoldano@redhat.com, bbaranow@redhat.com, bdettelb@redhat.com, berrange@redhat.com, bmaxwell@redhat.com, bootloader-eng-team@redhat.com, brian.stansberry@redhat.com, caswilli@redhat.com, cdewolf@redhat.com, cfergeau@redhat.com, chazlett@redhat.com, crobinso@redhat.com, crypto-team@lists.fedoraproject.org, csutherl@redhat.com, darran.lofthouse@redhat.com, dbelyavs@redhat.com, ddepaula@redhat.com, dhalasz@redhat.com, dkreling@redhat.com, dkuc@redhat.com, dosoudil@redhat.com, dueno@redhat.com, elima@redhat.com, epel-packagers-sig@lists.fedoraproject.org, erik-fedora@vanpienbroek.nl, f4bug@amsat.org, fjansen@redhat.com, fjuma@redhat.com, fmartine@redhat.com, gparvin@redhat.com, gzaronik@redhat.com, iweiss@redhat.com, jburrell@redhat.com, jclere@redhat.com, jferlan@redhat.com, jkoehler@redhat.com, jochrist@redhat.com, jramanat@redhat.com, jwong@redhat.com, jwon@redhat.com, kaycoth@redhat.com, krathod@redhat.com, kraxel@redhat.com, ktietz@redhat.com, lgao@redhat.com, marcandre.lureau@redhat.com, michal.skrivanek@redhat.com, michel@michel-slm.name, micjohns@redhat.com, mjg59@srcf.ucam.org, mosmerov@redhat.com, mperina@redhat.com, msochure@redhat.com, mspacek@redhat.com, msvehla@redhat.com, mturk@redhat.com, njean@redhat.com, nwallace@redhat.com, pahickey@redhat.com, pbonzini@redhat.com, pjindal@redhat.com, pjones@redhat.com, pmackay@redhat.com, redhat-bugzilla@linuxnetz.de, rfreiman@redhat.com, rharwood@redhat.com, rh-spice-bugs@redhat.com, rjones@redhat.com, rstancel@redhat.com, rsvoboda@redhat.com, sahana@redhat.com, sbonazzo@redhat.com, smaestri@redhat.com, stcannon@redhat.com, sthirugn@redhat.com, szappis@redhat.com, tmeszaro@redhat.com, tm@t8m.info, tom.jenkinson@redhat.com, virt-maint@lists.fedoraproject.org, virt-maint@redhat.com, vkrizan@redhat.com, vkumar@redhat.com, vmugicag@redhat.com Target Milestone: --- Classification: Other
The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.
Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.
This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0.
OpenSSL 1.0.2 users should upgrade to 1.0.2ze OpenSSL 1.1.1 users should upgrade to 1.1.1o OpenSSL 3.0 users should upgrade to 3.0.3