{"id":"GHSA-53mj-mc38-q894","aliases":[],"url":"https://o3.security/vulnerability/GHSA-53mj-mc38-q894","summary":"Remote Memory Exposure in openwhisk","details":"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.","published":"2020-09-01T19:40:41Z","modified":"2021-09-24T14:29:02Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"openwhisk","fixedVersion":"3.3.1"}],"fix":{"url":"https://github.com/openwhisk/openwhisk-client-js/pull/34","label":"openwhisk/openwhisk-client-js#34"},"references":[{"type":"WEB","url":"https://github.com/openwhisk/openwhisk-client-js/pull/34"},{"type":"PACKAGE","url":"https://github.com/openwhisk/openwhisk-client-js"},{"type":"WEB","url":"https://www.npmjs.com/advisories/600"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-24T14:29:02Z"}}