Lucene search
+L

openSUSE Security Advisory (openSUSE-SU-2025:0004-1)

🗓️ 08 Jan 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

Security Advisory for rubygem package in openSUSE, addressing CVE-2019-18848 and CVE-2023-51774.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ibm
IBM Security Bulletins
Security Bulletin: IBM Cloud Pak for Data is vulnerable to security bypass due to json-jwt ( CVE-2023-51774 )
8 Aug 202415:42
ibm
attackerkb
ATTACKERKB
CVE-2023-51774
29 Feb 202401:42
attackerkb
cgr
Chainguard
CVE-2023-51774 vulnerabilities
29 Feb 202401:42
cgr
circl
Circl
CVE-2019-18848
13 Feb 202409:56
circl
circl
Circl
CVE-2023-51774
29 Feb 202410:11
circl
cnnvd
CNNVD
json-jwt gem for Ruby Security Vulnerability
29 Feb 202400:00
cnnvd
cve
CVE
CVE-2019-18848
12 Nov 201914:23
cve
cve
CVE
CVE-2023-51774
25 Dec 202300:00
cve
cvelist
Cvelist
CVE-2019-18848
12 Nov 201914:23
cvelist
cvelist
Cvelist
CVE-2023-51774
25 Dec 202300:00
cvelist
Rows per page
# SPDX-FileCopyrightText: 2025 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.856894");
  script_cve_id("CVE-2019-18848", "CVE-2023-51774");
  script_tag(name:"creation_date", value:"2025-01-08 05:00:03 +0000 (Wed, 08 Jan 2025)");
  script_version("2025-02-26T05:38:41+0000");
  script_tag(name:"last_modification", value:"2025-02-26 05:38:41 +0000 (Wed, 26 Feb 2025)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-11-14 18:28:22 +0000 (Thu, 14 Nov 2019)");

  script_name("openSUSE Security Advisory (openSUSE-SU-2025:0004-1)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("openSUSE Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/opensuse", "ssh/login/rpms", re:"ssh/login/release=openSUSELeap15\.5");

  script_xref(name:"Advisory-ID", value:"openSUSE-SU-2025:0004-1");
  script_xref(name:"URL", value:"https://lists.opensuse.org/archives/list/[email protected]/thread/FICWL2K7EGMUBVQ6CHEQYANYFEU4XBG4/");
  script_xref(name:"URL", value:"https://bugzilla.suse.com/1156649");
  script_xref(name:"URL", value:"https://bugzilla.suse.com/1220727");
  script_xref(name:"URL", value:"https://github.com/nov/json-jwt/pull/109");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'rubygem-json-jwt' package(s) announced via the openSUSE-SU-2025:0004-1 advisory.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");

  script_tag(name:"insight", value:"This update for rubygem-json-jwt fixes the following issues:

- New upstream release 1.16.6, see bundled CHANGELOG.md

- Remove padding oracle by @btoews in [link moved to references]
- Fixes CVE-2023-51774 boo#1220727

- updated to version 1.11.0
 - no changelog found
 - Fixes CVE-2019-18848 boo#1156649");

  script_tag(name:"affected", value:"'rubygem-json-jwt' package(s) on openSUSE Leap 15.5.");

  script_tag(name:"solution", value:"Please install the updated package(s).");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"package");

  exit(0);
}

include("revisions-lib.inc");
include("pkg-lib-rpm.inc");

release = rpm_get_ssh_release();
if(!release)
  exit(0);

res = "";
report = "";

if(release == "openSUSELeap15.5") {

  if(!isnull(res = isrpmvuln(pkg:"ruby2.5-rubygem-aes_key_wrap", rpm:"ruby2.5-rubygem-aes_key_wrap~1.1.0~bp155.2.1", rls:"openSUSELeap15.5"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"ruby2.5-rubygem-aes_key_wrap-doc", rpm:"ruby2.5-rubygem-aes_key_wrap-doc~1.1.0~bp155.2.1", rls:"openSUSELeap15.5"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"ruby2.5-rubygem-json-jwt", rpm:"ruby2.5-rubygem-json-jwt~1.16.6~bp155.3.3.1", rls:"openSUSELeap15.5"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"ruby2.5-rubygem-json-jwt-doc", rpm:"ruby2.5-rubygem-json-jwt-doc~1.16.6~bp155.3.3.1", rls:"openSUSELeap15.5"))) {
    report += res;
  }

  if(report != "") {
    security_message(data:report);
  } else if(__pkg_match) {
    exit(99);
  }
  exit(0);
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Feb 2025 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 25
CVSS 3.17.5 - 8.4
EPSS0.01257
SSVC
14