Skip to content
Heist/ feed
Back to feed
CriticalFix available

jruby, ruby1.9.1 and 1 more products — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2017-0899

RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.

Products
jruby, ruby1.9.1, ruby2.3
Affected versions
1.5.6-5ubuntu1, 1.5.6-6, 1.5.6-7, 1.5.6-9+deb8u2build0.14.04.1~esm2, 1.7.21-2ubuntu4, 1.7.22-1ubuntu1, 1.9.3.194-8.1ubuntu2, 1.9.3.448-1ubuntu1, 1.9.3.448-1ubuntu2, 1.9.3.484-1ubuntu1, 1.9.3.484-1ubuntu2, 1.9.3.484-2ubuntu1, 1.9.3.484-2ubuntu1.1, 1.9.3.484-2ubuntu1.2, 1.9.3.484-2ubuntu1.3, 2.3.0-1, 2.3.0-2, 2.3.0-4ubuntu2, 2.3.0-4ubuntu3, 2.3.0-5ubuntu1, 2.3.1-2~16.04, 2.3.1-2~16.04.2, 2.3.1-2~16.04.4, 2.3.1-2~16.04.5, 9.1.13.0-1, 9.1.17.0-1~18.04, 9.1.17.0-3, 9.1.17.0-3build5, 9.1.17.0-3build6, 9.3.9.0+ds-1, 9.4.14.0+ds-1, 9.4.5.0+ds-1, 9.4.5.0+ds-1ubuntu1, 9.4.6.0+ds-1ubuntu3, 9.4.8.0+ds-2ubuntu1, 9.4.8.0+ds-3ubuntu1
Fixed versions
1.9.3.484-2ubuntu1.5, 2.3.1-2~16.04.6
CVEs
CVE-2017-0899
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2017-0899

core-osv · Original source

Published 31 Aug 2017, 00:00 UTC

RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.

osv:UBUNTU-CVE-2017-0899

ruby1.9.1

Fixed versions: 1.9.3.484-2ubuntu1.5

jruby

Fixed versions: Not specified

ruby2.3

Fixed versions: 2.3.1-2~16.04.6

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

jruby

Fixed versions: Not specified

Complete source record
{
  "id": "e374b030606a0faad7e4eb03dce339e61f466368bbda00ea467462f1030aa95e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2017-0899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2017-0899",
    "summary": "RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.",
    "evidence": "osv:UBUNTU-CVE-2017-0899",
    "products": [
      {
        "name": {
          "value": "ruby1.9.1",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.9.3.484-2ubuntu1.5",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.9.3.194-8.1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.448-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.448-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-2ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-2ubuntu1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-2ubuntu1.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.3.484-2ubuntu1.3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.6-5ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.6-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.6-7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.6-9+deb8u2build0.14.04.1~esm2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby2.3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.1-2~16.04.6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.3.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.0-4ubuntu2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.0-4ubuntu3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.0-5ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.1-2~16.04",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.1-2~16.04.2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.1-2~16.04.4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.3.1-2~16.04.5",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.21-2ubuntu4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.7.22-1ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.1.13.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "9.1.17.0-1~18.04",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.1.17.0-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "9.1.17.0-3build5",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "9.1.17.0-3build6",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.3.9.0+ds-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.4.5.0+ds-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.4.5.0+ds-1ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.4.6.0+ds-1ubuntu3",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.4.8.0+ds-2ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "9.4.8.0+ds-3ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.4.8.0+ds-3ubuntu1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "9.4.14.0+ds-1",
            "evidence": "/affected/8/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jruby",
          "evidence": "/affected/9/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.4.8.0+ds-3ubuntu1",
            "evidence": "/affected/9/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2017-0899",
      "aliases": [
        "UBUNTU-CVE-2017-0899"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "negligible"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.3.484-2ubuntu1.5"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby1.9.1",
            "purl": "pkg:deb/ubuntu/ruby1.9.1?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.9.3.194-8.1ubuntu2",
            "1.9.3.448-1ubuntu1",
            "1.9.3.448-1ubuntu2",
            "1.9.3.484-1ubuntu1",
            "1.9.3.484-1ubuntu2",
            "1.9.3.484-2ubuntu1",
            "1.9.3.484-2ubuntu1.1",
            "1.9.3.484-2ubuntu1.2",
            "1.9.3.484-2ubuntu1.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libruby1.9.1",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "libtcltk-ruby1.9.1",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "ri1.9.1",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "ruby1.9.1",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "ruby1.9.1-examples",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "ruby1.9.1-full",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              },
              {
                "binary_name": "ruby1.9.3",
                "binary_version": "1.9.3.484-2ubuntu1.5"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "1.5.6-5ubuntu1",
            "1.5.6-6",
            "1.5.6-7",
            "1.5.6-9+deb8u2build0.14.04.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "1.5.6-9+deb8u2build0.14.04.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.1-2~16.04.6"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby2.3",
            "purl": "pkg:deb/ubuntu/ruby2.3?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.3.0-1",
            "2.3.0-2",
            "2.3.0-4ubuntu2",
            "2.3.0-4ubuntu3",
            "2.3.0-5ubuntu1",
            "2.3.1-2~16.04",
            "2.3.1-2~16.04.2",
            "2.3.1-2~16.04.4",
            "2.3.1-2~16.04.5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libruby2.3",
                "binary_version": "2.3.1-2~16.04.6"
              },
              {
                "binary_name": "ruby2.3",
                "binary_version": "2.3.1-2~16.04.6"
              },
              {
                "binary_name": "ruby2.3-tcltk",
                "binary_version": "2.3.1-2~16.04.6"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.7.21-2ubuntu4",
            "1.7.22-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "1.7.22-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "9.1.13.0-1",
            "9.1.17.0-1~18.04"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.1.17.0-1~18.04"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "9.1.17.0-3",
            "9.1.17.0-3build5",
            "9.1.17.0-3build6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.1.17.0-3build6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "9.3.9.0+ds-1",
            "9.4.5.0+ds-1",
            "9.4.5.0+ds-1ubuntu1",
            "9.4.6.0+ds-1ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.4.6.0+ds-1ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "9.4.8.0+ds-2ubuntu1",
            "9.4.8.0+ds-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.4.8.0+ds-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "9.4.8.0+ds-3ubuntu1",
            "9.4.14.0+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.4.14.0+ds-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jruby",
            "purl": "pkg:deb/ubuntu/jruby?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "9.4.8.0+ds-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-0899.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "jruby",
                "binary_version": "9.4.8.0+ds-3ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:52:45.908554870Z",
      "provider": "osv",
      "upstream": [
        "CVE-2017-0899"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2017-0899",
        "https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/",
        "https://ubuntu.com/security/notices/USN-3439-1",
        "https://ubuntu.com/security/notices/USN-3685-1",
        "https://www.cve.org/CVERecord?id=CVE-2017-0899"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2017-0899",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353285,
  "published_at": "2017-08-31T00:00:00+00:00"
}