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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
rollbar rollbar.js
< 2.26.5affected>= 3.0.0-alpha1, < 3.0.0-beta5affected
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 ↗