end-of-life.org

Ruby 2.1 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

Ruby 2.1 reached end of life on 31 Mar 2017. It no longer receives security fixes.

3,418 days without security patches
49 Ruby CVEs published since EOL
Recommended action: upgrade to Ruby 4.0.
Check your versionruby --version

Support timeline

Official dates from the Ruby release process.

MilestoneDateStatus
Initial release25 Dec 2013
End of life 31 Mar 2017 9.4 years ago
Latest release2.1.10 · 31 Mar 2016 final

The cost of staying: CVEs since end of life

49 Ruby vulnerabilities have been published since 31 Mar 2017. All were fixed in supported branches — 2.1 received none of them. Source: NVD.

Ruby CVEs published since 2.1's EOL, by year

11 of the 49 are rated critical · data refreshed 2026-08-09

0 7.5 15 12 2017 8 2018 7 2019 4 2020 5 2021 7 2022 2 2023 2 2024 1 2025 1 2026
CVE-2017-9225 CVSS 9.8

Published 24 May 2017 · rated critical — fixed in supported branches only, never in 2.1. Details

CVE-2017-11465 CVSS 9.8

Published 19 Jul 2017 · rated critical — fixed in supported branches only, never in 2.1. Details

CVE-2017-14064 CVSS 9.8

Published 31 Aug 2017 · rated critical — fixed in supported branches only, never in 2.1. Details

Where to go from 2.1

Recommended target: Ruby 4.0 (supported until 31 Mar 2029).

The newest actively supported branch is Ruby 4.0 (latest release 4.0.6). Review ruby-lang.org before upgrading.

Frequently asked questions

Is Ruby 2.1 still safe to use?

No. Ruby 2.1 stopped receiving security fixes on 31 Mar 2017. Since then, 49 Ruby vulnerabilities have been published and fixed in supported branches — Ruby 2.1 received none of those fixes.

Can I still download Ruby 2.1?

Yes — the final release (2.1.10) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade Ruby 2.1 to?

Upgrade to Ruby 4.0, the newest actively supported branch (supported until 31 Mar 2029).

All Ruby versions