Is google-protobuf 3.20 vulnerable?

RubyGems · 4 releases from 3.20.0 to 3.20.3 · latest google-protobuf is 4.36.2 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. google-protobuf 3.20.3, the last 3.20 release, is affected by 1 known security advisory (1 high), including CVE-2024-7254. 1 more affects earlier 3.20.x releases. Upgrade to 3.25.5 or later to fix all of them.

Upgrade with:bundle update --conservative google-protobuf # Gemfile: '>= 3.25.5'

Is your project on an affected google-protobuf?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting google-protobuf 3.20.3

  • HighCVE-2024-7254GHSA-735f-pc8j-v9w819 Sept 2024

    protobuf-java has potential Denial of Service issue

    Affected
    <3.25.5 · >=4.0.0.rc.1 <4.27.5 · >=4.28.0.rc.1 <4.28.2
    Fixed in
    3.25.5, 4.27.5, 4.28.2

Fixed within 3.20.x, affecting earlier releases

  • MediumCVE-2022-3171GHSA-h4h5-3hr4-j3g24 Oct 2022

    protobuf-java has a potential Denial of Service issue

    Affected
    >=3.21.0.rc.1 <3.21.7 · >=3.20.0.rc.1 <3.20.3 · >=3.17.0.rc.1 <3.19.6 · <3.16.3
    Fixed in
    3.16.3, 3.19.6, 3.20.3, 3.21.7

Every google-protobuf 3.20.x release

Affected: 3.20.0 to 3.20.3. Latest google-protobuf: 4.36.2.

VersionKnown advisories
google-protobuf 3.20.3CVE-2024-7254
google-protobuf 3.20.2CVE-2024-7254, CVE-2022-3171
google-protobuf 3.20.1CVE-2024-7254, CVE-2022-3171
google-protobuf 3.20.0CVE-2024-7254, CVE-2022-3171

Which of your client projects are still on google-protobuf 3.20?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact google-protobuf version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other google-protobuf versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.