Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
msgpack-CVE-2021-23410-test | Kitploit
Tools/GitHubGitHub/azu/msgpack-cve-2021-23410-test
Vulnerability AnalysisCode AnalysisExploitationPapers & ResearchLearning & Education
GitHubazu/msgpack-cve-2021-23410-test

msgpack-CVE-2021-23410-test

View Repository
15 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Test for https://snyk.io/vuln/SNYK-JS-MSGPACK-1296122

This looks like not vulerbility.

root@kitploit:~
var assert = require('assert');
var msgpack = require('msgpack');
function sleep(ms) {
  return new Promise((resolve) => {
    setTimeout(resolve, ms);
  });
}
async function init() {
  var normal = { "a": 1, "b": 2, "c": [1, 2, 3] };
  var malicious = msgpack.pack({
    exploit: function () {
      // Note(by @azu): This Poc just run child_process.exec
      // It is not related to msgpack
      require('child_process').exec('echo code_executed!;sleep 3', function (error, stdout, stderr) {
        console.log(stdout)
      });
    }(),
  });
  var rce = msgpack.unpack(malicious);
  assert.deepEqual(rce, normal);
}

init();

PoC by Adi Malyanker

This PoC just run child_pross.exec, so This is not vulnerbiliy of msgpack.

Test

root@kitploit:~
git clone [email protected]:azu/msgpack-CVE-2021-23410-test.git
cd msgpack-CVE-2021-23410-test
npm install
npm test

Related

  • Security Issue in msgpack · Issue #56 · msgpack/msgpack-node
  • Deserialization of Untrusted Data in msgpack | Snyk
Download Tool