CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
Low
EPSS
Percentile
84.7%
An update of the mozjs package has been released.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from VMware Security Advisory PHSA-2023-5.0-0035. The text
# itself is copyright (C) VMware, Inc.
##
include('compat.inc');
if (description)
{
script_id(204437);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/07/24");
script_cve_id(
"CVE-2022-3266",
"CVE-2022-34469",
"CVE-2022-34471",
"CVE-2022-34473",
"CVE-2022-34474",
"CVE-2022-36314",
"CVE-2022-38472",
"CVE-2022-38473",
"CVE-2022-38474",
"CVE-2022-38475",
"CVE-2022-38477",
"CVE-2022-38478",
"CVE-2022-40956",
"CVE-2022-40957",
"CVE-2022-40958",
"CVE-2022-40959",
"CVE-2022-40960",
"CVE-2022-40961",
"CVE-2022-40962",
"CVE-2022-42927",
"CVE-2022-42928",
"CVE-2022-42929",
"CVE-2022-42930",
"CVE-2022-42931",
"CVE-2022-42932",
"CVE-2022-45403",
"CVE-2022-45404",
"CVE-2022-45405",
"CVE-2022-45406",
"CVE-2022-45407",
"CVE-2022-45408",
"CVE-2022-45409",
"CVE-2022-45410",
"CVE-2022-45411",
"CVE-2022-45412",
"CVE-2022-45413",
"CVE-2022-45415",
"CVE-2022-45416",
"CVE-2022-45417",
"CVE-2022-45418",
"CVE-2022-45419",
"CVE-2022-45420",
"CVE-2022-46871",
"CVE-2022-46872",
"CVE-2022-46873",
"CVE-2022-46874",
"CVE-2022-46875",
"CVE-2022-46877",
"CVE-2022-46878",
"CVE-2022-46879",
"CVE-2022-46883",
"CVE-2022-46885",
"CVE-2023-0767",
"CVE-2023-1945",
"CVE-2023-23597",
"CVE-2023-23598",
"CVE-2023-23599",
"CVE-2023-23601",
"CVE-2023-23602",
"CVE-2023-23603",
"CVE-2023-23604",
"CVE-2023-23605",
"CVE-2023-23606",
"CVE-2023-25728",
"CVE-2023-25729",
"CVE-2023-25730",
"CVE-2023-25731",
"CVE-2023-25732",
"CVE-2023-25733",
"CVE-2023-25734",
"CVE-2023-25735",
"CVE-2023-25736",
"CVE-2023-25737",
"CVE-2023-25738",
"CVE-2023-25739",
"CVE-2023-25740",
"CVE-2023-25741",
"CVE-2023-25742",
"CVE-2023-25744",
"CVE-2023-25745",
"CVE-2023-25746",
"CVE-2023-25751",
"CVE-2023-25752",
"CVE-2023-28162",
"CVE-2023-28163",
"CVE-2023-28164",
"CVE-2023-28176",
"CVE-2023-29533",
"CVE-2023-29535",
"CVE-2023-29536",
"CVE-2023-29539",
"CVE-2023-29541",
"CVE-2023-29547",
"CVE-2023-29548",
"CVE-2023-29550",
"CVE-2023-32205",
"CVE-2023-32206",
"CVE-2023-32207",
"CVE-2023-32211",
"CVE-2023-32212",
"CVE-2023-32213",
"CVE-2023-32215",
"CVE-2023-34414",
"CVE-2023-34416"
);
script_name(english:"Photon OS 5.0: Mozjs PHSA-2023-5.0-0035");
script_set_attribute(attribute:"synopsis", value:
"The remote PhotonOS host is missing multiple security updates.");
script_set_attribute(attribute:"description", value:
"An update of the mozjs package has been released.");
script_set_attribute(attribute:"see_also", value:"https://github.com/vmware/photon/wiki/Security-Update-5.0-35.md");
script_set_attribute(attribute:"solution", value:
"Update the affected Linux packages.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-34416");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2022/06/28");
script_set_attribute(attribute:"patch_publication_date", value:"2023/06/22");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/07/24");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:vmware:photonos:mozjs");
script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:photonos:5.0");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"PhotonOS Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/PhotonOS/release", "Host/PhotonOS/rpm-list");
exit(0);
}
include('rpm.inc');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var _release = get_kb_item('Host/PhotonOS/release');
if (isnull(_release) || _release !~ "^VMware Photon") audit(AUDIT_OS_NOT, 'PhotonOS');
if (_release !~ "^VMware Photon (?:Linux|OS) 5\.0(\D|$)") audit(AUDIT_OS_NOT, 'PhotonOS 5.0');
if (!get_kb_item('Host/PhotonOS/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'PhotonOS', cpu);
var flag = 0;
if (rpm_check(release:'PhotonOS-5.0', cpu:'x86_64', reference:'mozjs-102.12.0-1.ph5')) flag++;
if (rpm_check(release:'PhotonOS-5.0', cpu:'x86_64', reference:'mozjs-devel-102.12.0-1.ph5')) flag++;
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'mozjs');
}
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3266
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34469
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34471
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34473
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34474
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36314
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38472
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38473
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38474
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38475
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38477
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38478
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40956
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40957
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40958
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40959
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40960
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40961
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40962
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42927
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42928
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42929
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42930
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42931
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42932
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45403
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45404
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45405
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45406
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45407
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45408
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45409
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45410
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45411
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45412
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45413
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45415
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45416
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45417
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45418
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45419
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45420
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46871
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46872
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46873
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46874
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46875
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46877
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46878
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46879
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46883
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46885
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0767
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1945
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23597
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23598
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23599
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23601
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23602
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23603
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23604
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23605
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23606
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25728
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25729
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25730
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25731
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25732
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25733
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25734
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25735
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25736
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25737
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25738
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25739
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25740
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25741
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25742
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25744
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25745
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25746
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25751
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25752
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28162
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28163
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28164
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28176
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29533
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29535
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29536
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29539
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29541
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29547
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29548
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29550
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32205
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32206
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32207
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32211
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32212
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32213
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32215
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-34414
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-34416
github.com/vmware/photon/wiki/Security-Update-5.0-35.md
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
Low
EPSS
Percentile
84.7%