Lucene search
+L

Ubuntu: Security Advisory (USN-1887-1)

🗓️ 24 Jun 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 38 Views

The 'swift' package on Ubuntu 12.04, 12.10, and 13.04 is missing a security update to address vulnerabilities CVE-2012-4406 and CVE-2013-2161, allowing remote attackers to execute arbitrary code and trigger vulnerabilities in software parsing Swift's XML

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2012-4406
22 Oct 201223:00
cve
cve
CVE
CVE-2013-2161
20 Aug 201322:00
cve
cvelist
Cvelist
CVE-2012-4406
22 Oct 201223:00
cvelist
cvelist
Cvelist
CVE-2013-2161
20 Aug 201322:00
cvelist
debian
Debian
[SECURITY] [DSA 2737-1] swift security update
12 Aug 201318:39
debian
debiancve
Debian CVE
CVE-2012-4406
22 Oct 201223:00
debiancve
debiancve
Debian CVE
CVE-2013-2161
20 Aug 201322:00
debiancve
nessus
Tenable Nessus
Debian DSA-2737-1 : swift - several vulnerabilities
15 Aug 201300:00
nessus
nessus
Tenable Nessus
Fedora 16 : openstack-swift-1.4.8-3.fc16 (2012-15098)
8 Oct 201200:00
nessus
nessus
Tenable Nessus
Fedora 17 : openstack-swift-1.4.8-3.fc17 (2012-15642)
18 Oct 201200:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2013 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.841485");
  script_cve_id("CVE-2012-4406", "CVE-2013-2161");
  script_tag(name:"creation_date", value:"2013-06-24 09:36:42 +0000 (Mon, 24 Jun 2013)");
  script_version("2025-08-15T05:40:49+0000");
  script_tag(name:"last_modification", value:"2025-08-15 05:40:49 +0000 (Fri, 15 Aug 2025)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-01-25 02:13:29 +0000 (Thu, 25 Jan 2024)");

  script_name("Ubuntu: Security Advisory (USN-1887-1)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_family("Ubuntu Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/ubuntu_linux", "ssh/login/packages", re:"ssh/login/release=UBUNTU(12\.04\ LTS|12\.10|13\.04)");

  script_xref(name:"Advisory-ID", value:"USN-1887-1");
  script_xref(name:"URL", value:"https://ubuntu.com/security/notices/USN-1887-1");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'swift' package(s) announced via the USN-1887-1 advisory.");

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

  script_tag(name:"insight", value:"Sebastian Krahmer discovered that Swift used the loads function in the
pickle Python module when it was configured to use memcached. A remote
attacker on the same network as memcached could exploit this to execute
arbitrary code. This update adds a new memcache_serialization_support
option to support secure json serialization. For details on this new
option, please see /usr/share/doc/swift-proxy/memcache.conf-sample. This
issue only affected Ubuntu 12.04 LTS. (CVE-2012-4406)

Alex Gaynor discovered that Swift did not safely generate XML. An
attacker could potentially craft an account name to generate arbitrary XML
responses to trigger vulnerabilities in software parsing Swift's XML.
(CVE-2013-2161)");

  script_tag(name:"affected", value:"'swift' package(s) on Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04.");

  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-deb.inc");

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

res = "";
report = "";

if(release == "UBUNTU12.04 LTS") {

  if(!isnull(res = isdpkgvuln(pkg:"python-swift", ver:"1.4.8-0ubuntu2.2", rls:"UBUNTU12.04 LTS"))) {
    report += res;
  }

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

if(release == "UBUNTU12.10") {

  if(!isnull(res = isdpkgvuln(pkg:"python-swift", ver:"1.7.4-0ubuntu2.2", rls:"UBUNTU12.10"))) {
    report += res;
  }

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

if(release == "UBUNTU13.04") {

  if(!isnull(res = isdpkgvuln(pkg:"python-swift", ver:"1.8.0-0ubuntu1.2", rls:"UBUNTU13.04"))) {
    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