{"id":"GHSA-53mj-mc38-q894","aliases":["GHSA-53mj-mc38-q894"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Memory Exposure in openwhisk","summary":"Versions of `openwhisk` before 3.3.1 are vulnerable to remote memory exposure.\n\nWhen a number is passed to `api_key`, affected versions of `openwhisk` allocate an uninitialized buffer and send that over network in Authorization header (base64-encoded).\n\nProof of concept:\n\n```js\nvar openwhisk = require('openwhisk');\nvar options = {\n  apihost: '127.0.0.1:1433', \n  api_key: USERSUPPLIEDINPUT // number\n};\nvar ow = openwhisk(options);\now.actions.invoke({actionName: 'sample'}).then(result => console.log(result))\n```\n\n\n## Recommendation\n\nUpdate to version 3.3.1 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `openwhisk` before 3.3.1 are vulnerable to remote memory exposure.\n\nWhen a number is passed to `api_key`, affected versions of `openwhisk` allocate an uninitialized buffer and send that over network in Authorization header (base64-encoded).\n\nProof of concept:\n\n```js\nvar openwhisk = require('openwhisk');\nvar options = {\n  apihost: '127.0.0.1:1433', \n  api_key: USERSUPPLIEDINPUT // number\n};\nvar ow = openwhisk(options);\now.actions.invoke({actionName: 'sample'}).then(result => console.log(result))\n```\n\n\n## Recommendation\n\nUpdate to version 3.3.1 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T19:40:41.000Z","modified":"2021-09-24T14:29:02.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.1"}],"ecosystem":"npm","package":"openwhisk","purl":"pkg:npm/openwhisk","source":"ghsa"}],"references":[{"url":"https://github.com/openwhisk/openwhisk-client-js/pull/34","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openwhisk/openwhisk-client-js","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/600","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-53mj-mc38-q894","url":"https://github.com/advisories/GHSA-53mj-mc38-q894","licence":"CC-BY-4.0","modified":"2021-09-24T14:29:02.000Z"}],"updatedAt":"2026-11-25T22:56:44.109Z"}