Skip to main content

How to check if you’re affected by the Shellshock Bash bug for Linux, OS X

1291866 autosave v1 2 laptop hacker
Scyther5 / Shutterstock
The “Shellshock” bug is making cyber security experts and IT folk scramble to apply fixes and develop workarounds. The flaw, which afflicts systems running Linux and Mac OS X, affects Bash, which is short for the “Bourne again shell.”

Bash is a piece of software that controls the command prompt in Linux and Mac OS X. Here’s how Red Hat, the maker of Red Hat Linux, describes the problems posed by the Bash flaw in this official blog post.

An attacker can provide specially-crafted environment variables containing arbitrary commands that will be executed on vulnerable systems under certain conditions.”

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

A (flawed) patch for Linux-based systems has already been issued, and a follow-up is being developed as we speak. The flawed patch was found to be incomplete by security experts. However, Red Hat recommends that users still install it. That’s because Red Hat considers the problems associated with the first patch to not be as severe as the issues that face systems which don’t have the first patch.

In the interim, there’s a simple way to check if Linux-based sites and servers are vulnerable to the Bash/Shellshock bug. By using this Web-based tool and entering the appropriate information, you can quickly find out if you’re at risk. You can also check if your servers are vulnerable to the flaw by using this other Web-based testing tool, simply dubbed “ShellShock Tester.”

The link was originally posted by Kaspersky’s official blog. When that Bash bug-related post was first published by the anti-malware software developer, Kaspersky noted that the tool indicated 749 vulnerabilities were discovered as a result of 7,362 tests that were ran with it.

Both numbers have spiked significantly. As of this writing, the ShellShock Bash Vulnerability test tool states that 23,832 tests have been conducted using it, and 1,568 vulnerabilities were discovered as a result.

Red Hat’s official security blog states that people should upgrade to the latest version of Bash that contains the fix for the Shellshock flaw.

Meanwhile, Kaspersky states that OS X-based systems can be scanned by following the instructions contained here. At this point, Apple has yet to release an official patch that addresses the Bash bug in OS X computers.

Editors' Recommendations

Konrad Krawczyk
Former Digital Trends Contributor
Konrad covers desktops, laptops, tablets, sports tech and subjects in between for Digital Trends. Prior to joining DT, he…
How much space does MacOS Monterey take up?
Quick Note in Apple's MacOS Monterey public beta

MacOS Monterey is the latest version of Apple’s operating system for its Mac and MacBook systems, and it comes with plenty of great features and reasons to upgrade. If you haven't upgraded to Monterey yet, it's important you know how much space MacOS Monterey takes up so that you can be sure you have enough storage to fit the big update.

The MacOS Monterey installer is 12.16GB. However, this isn't the whole picture, as it'll work out to a much larger install once unpacked. It’s imperative you have much more space than 12GB available on your Mac when upgrading, which is especially important for those running much earlier MacOS versions.

Read more
MacOS Monterey is coming October 25 — here’s how you can get it when ready
The M1-powered Macbook Air, open on a table.

Following the end of the Apple Unleashed event, Apple announced a release date for MacOS Monterey. The new operating system is set to launch on October 25, as the follow-up to 2020's MacOS Big Sur release, and brings several big enhancements centered around productivity.

Coming as a free update for most Macs, the big feature for most people in this release is Universal Control, which lets you use a single mouse and keyboard to control multiple MacOS and iPad devices. The new feature is separate from Sidecar, which lets iPad users leverage the tablet as a second display for your Mac.

Read more
How to use FaceTime’s SharePlay feature in MacOS Monterey
Apple Music and the FaceTime preferences pane being used during a SharePlay session on a Mac running MacOS Monterey.

SharePlay is a new feature in MacOS Monterey that lets an entire FaceTime group watch or listen to the same content. That’s great for a shared movie night when you can’t all join in person, for example, or if you want everyone to hear the latest track from your favorite artist.

SharePlay requires MacOS Monterey, iOS 15, or iPadOS 15. It likely won’t make it into the initial launch of these systems this fall but should come in an update shortly after release. In this article, we are going to show you how to use SharePlay in MacOS Monterey. If you don’t have it yet, make sure you read our guide on how to download MacOS Monterey to your Mac.

Read more