{"id":"GHSA-53mj-mc38-q894","aliases":[],"status":"published","title":"Remote Memory Exposure in openwhisk","description":"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 =\u003e console.log(result))\n```\n\n\n## Recommendation\n\nUpdate to version 3.3.1 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-09-01T19:40:41Z","modified":"2023-01-09T05:03:45Z","fixes":[{"ecosystem":"npm","package":"openwhisk","fixed_in":["3.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"openwhisk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]},{"source":"osv","ecosystem":"npm","package":"openwhisk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]}],"references":[{"url":"https://github.com/openwhisk/openwhisk-client-js/pull/34","tags":["web"]},{"url":"https://www.npmjs.com/advisories/600","tags":["web"]},{"url":"https://github.com/advisories/GHSA-53mj-mc38-q894"},{"url":"https://github.com/openwhisk/openwhisk-client-js","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-53mj-mc38-q894","title":"Remote Memory Exposure in openwhisk","description":"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 =\u003e console.log(result))\n```\n\n\n## Recommendation\n\nUpdate to version 3.3.1 or later.","status":"published","published":"2020-09-01T19:40:41Z","modified":"2023-01-09T05:03:45Z","updated_at":"2026-11-02T14:36:06.317379Z"}],"osv":[{"id":"GHSA-53mj-mc38-q894","title":"Remote Memory Exposure in openwhisk","description":"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 =\u003e console.log(result))\n```\n\n\n## Recommendation\n\nUpdate to version 3.3.1 or later.","status":"published","published":"2020-09-01T19:40:41Z","modified":"2021-09-24T14:29:02Z","updated_at":"2026-11-02T15:46:37.864461Z"}]}}
