Description
Rollbar.js offers error tracking and logging from Javascript to Rollbar. In versions before 2.26.5 and from 3.0.0-alpha1 to before 3.0.0-beta5, there is a prototype pollution vulnerability in merge(). If application code calls rollbar.configure() with untrusted input, prototype pollution is possible. This issue has been fixed in versions 2.26.5 and 3.0.0-beta5. A workaround involves ensuring that values passed to rollbar.configure() do not contain untrusted input.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rollbar | rollbar.js | < 2.26.5, >= 3.0.0-alpha1, < 3.0.0-beta5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | rollbar | < 2.26.5 | 2.26.5 | GHSA-xcg2-9pp4-j82x |
| npm | rollbar | >= 3.0.0-alpha1, < 3.0.0-beta5 | 3.0.0-beta5 | GHSA-xcg2-9pp4-j82x |
References
- https://github.com/rollbar/rollbar.js/security/advisories/GHSA-xcg2-9pp4-j82x
- https://github.com/rollbar/rollbar.js/pull/1390
- https://github.com/rollbar/rollbar.js/pull/1394
- https://github.com/rollbar/rollbar.js/commit/61032fe6c208b71e249514800808a54bcb8cb8bb
- https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343