# GHSA-53mj-mc38-q894: Remote Memory Exposure in openwhisk

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-01T19:40:41.000Z
- Modified: 2021-09-24T14:29:02.000Z

## Description

Versions of `openwhisk` before 3.3.1 are vulnerable to remote memory exposure.

When 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).

Proof of concept:

```js
var openwhisk = require('openwhisk');
var options = {
  apihost: '127.0.0.1:1433', 
  api_key: USERSUPPLIEDINPUT // number
};
var ow = openwhisk(options);
ow.actions.invoke({actionName: 'sample'}).then(result => console.log(result))
```


## Recommendation

Update to version 3.3.1 or later.

(As written by GitHub Advisory Database.)

## Affected

- openwhisk (npm): before 3.3.1

## References

- <https://github.com/openwhisk/openwhisk-client-js/pull/34> (web)
- <https://github.com/openwhisk/openwhisk-client-js> (package)
- <https://www.npmjs.com/advisories/600> (web)

## Sources

- GitHub Advisory Database: [GHSA-53mj-mc38-q894](https://github.com/advisories/GHSA-53mj-mc38-q894), CC-BY-4.0, modified 2021-09-24

---

Page: https://cve.day/GHSA-53mj-mc38-q894 · Whole record: https://cve.day/GHSA-53mj-mc38-q894.json · Rebuilt by cve.day 2026-11-25T22:56:44.109Z
