REDHAT-BUG-2477104: High severity npm/protobufjs vulnerability

Published May 13, 2026
·
Updated

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.

Affected Software

2 affected components
npm/protobufjs>=0<7.5.6, >=7.5.6<8.0.2
npm/protobufjs<7.5.6, <8.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade protobufjs to a version that resolves this vulnerability.

    Fixed in 7.5.6
  2. Upgrade

    Upgrade protobufjs to a version that resolves this vulnerability.

    Fixed in 8.0.2

Event History

May 13, 2026
Data Sourced
via Red Hat·04:04 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477104?

The severity of REDHAT-BUG-2477104 is classified as high with a score of 7.

2

How do I fix REDHAT-BUG-2477104?

To fix REDHAT-BUG-2477104, update protobufjs to version 7.5.6 or later.

3

What is the risk associated with REDHAT-BUG-2477104?

The risk associated with REDHAT-BUG-2477104 is rated at risk level 33.

4

What is the impact of REDHAT-BUG-2477104?

The impact of REDHAT-BUG-2477104 can allow for the generation of unsafe expressions in JavaScript functions.

5

Which versions of protobufjs are affected by REDHAT-BUG-2477104?

Versions prior to 7.5.6 and 8.0.2 of protobufjs are affected by REDHAT-BUG-2477104.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203