Oracle Linux 6 / 7 : libreoffice (ELSA-2015-2619)

2015-12-15T00:00:00
ID ORACLELINUX_ELSA-2015-2619.NASL
Type nessus
Reporter Tenable
Modified 2018-07-24T00:00:00

Description

From Red Hat Security Advisory 2015:2619 :

Updated libreoffice packages that fixes multiple security issues are now available for Red Hat Enterprise Linux 6 and 7.

Red Hat Product Security has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

LibreOffice is an open source, community-developed office productivity suite. It includes key desktop applications, such as a word processor, a spreadsheet, a presentation manager, a formula editor, and a drawing program. LibreOffice replaces OpenOffice and provides a similar but enhanced and extended office suite.

It was discovered that LibreOffice did not properly restrict automatic link updates. By tricking a victim into opening specially crafted documents, an attacker could possibly use this flaw to disclose contents of files accessible by the victim. (CVE-2015-4551)

An integer underflow flaw leading to a heap-based buffer overflow when parsing PrinterSetup data was discovered. By tricking a user into opening a specially crafted document, an attacker could possibly exploit this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2015-5212)

An integer overflow flaw, leading to a heap-based buffer overflow, was found in the way LibreOffice processed certain Microsoft Word .doc files. By tricking a user into opening a specially crafted Microsoft Word .doc document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2015-5213)

It was discovered that LibreOffice did not properly sanity check bookmark indexes. By tricking a user into opening a specially crafted document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2015-5214)

All libreoffice users are advised to upgrade to these updated packages, which contain backported patches to correct these issues.

                                        
                                            #
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory RHSA-2015:2619 and 
# Oracle Linux Security Advisory ELSA-2015-2619 respectively.
#

include("compat.inc");

if (description)
{
  script_id(87365);
  script_version("2.5");
  script_cvs_date("Date: 2018/07/24 18:56:12");

  script_cve_id("CVE-2015-4551", "CVE-2015-5212", "CVE-2015-5213", "CVE-2015-5214");
  script_xref(name:"RHSA", value:"2015:2619");

  script_name(english:"Oracle Linux 6 / 7 : libreoffice (ELSA-2015-2619)");
  script_summary(english:"Checks rpm output for the updated packages");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote Oracle Linux host is missing one or more security updates."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"From Red Hat Security Advisory 2015:2619 :

Updated libreoffice packages that fixes multiple security issues are
now available for Red Hat Enterprise Linux 6 and 7.

Red Hat Product Security has rated this update as having Moderate
security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

LibreOffice is an open source, community-developed office productivity
suite. It includes key desktop applications, such as a word processor,
a spreadsheet, a presentation manager, a formula editor, and a drawing
program. LibreOffice replaces OpenOffice and provides a similar but
enhanced and extended office suite.

It was discovered that LibreOffice did not properly restrict automatic
link updates. By tricking a victim into opening specially crafted
documents, an attacker could possibly use this flaw to disclose
contents of files accessible by the victim. (CVE-2015-4551)

An integer underflow flaw leading to a heap-based buffer overflow when
parsing PrinterSetup data was discovered. By tricking a user into
opening a specially crafted document, an attacker could possibly
exploit this flaw to execute arbitrary code with the privileges of the
user opening the file. (CVE-2015-5212)

An integer overflow flaw, leading to a heap-based buffer overflow, was
found in the way LibreOffice processed certain Microsoft Word .doc
files. By tricking a user into opening a specially crafted Microsoft
Word .doc document, an attacker could possibly use this flaw to
execute arbitrary code with the privileges of the user opening the
file. (CVE-2015-5213)

It was discovered that LibreOffice did not properly sanity check
bookmark indexes. By tricking a user into opening a specially crafted
document, an attacker could possibly use this flaw to execute
arbitrary code with the privileges of the user opening the file.
(CVE-2015-5214)

All libreoffice users are advised to upgrade to these updated
packages, which contain backported patches to correct these issues."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://oss.oracle.com/pipermail/el-errata/2015-December/005626.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://oss.oracle.com/pipermail/el-errata/2015-December/005629.html"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Update the affected libreoffice packages."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-af");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-bg");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ca");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-cs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-da");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-de");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-en");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-es");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ga");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-hr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-hu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-is");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-it");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ja");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ko");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-lb");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-lt");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-mn");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-nl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-pl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-pt");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ro");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ru");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sv");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-tr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-vi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-zh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-base");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-bsh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-calc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-core");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-draw");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-emailmerge");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-filters");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-gdb-debug-support");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-glade");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-graphicfilter");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-headless");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-impress");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-af");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ar");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-as");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-bg");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-bn");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-br");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ca");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-cs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-cy");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-da");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-de");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-dz");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-el");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-en");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-es");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-et");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-eu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ga");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-gl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-gu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-he");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-it");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ja");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-kk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-kn");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ko");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-lt");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-lv");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-mai");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ml");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-mr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ms");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nb");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nn");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nso");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-or");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pt-BR");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pt-PT");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ro");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ru");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-si");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ss");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-st");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sv");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ta");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-te");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-th");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-tn");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-tr");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ts");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-uk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ur");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ve");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-xh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zh-Hans");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zh-Hant");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zu");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-librelogo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-math");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-nlpsolver");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-officebean");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-ogltrans");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-opensymbol-fonts");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-pdfimport");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-postgresql");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-pyuno");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-rhino");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-sdk");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-sdk-doc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-ure");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-wiki-publisher");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-writer");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-xsltfilter");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:6");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:7");

  script_set_attribute(attribute:"patch_publication_date", value:"2015/12/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/12/15");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2015-2018 Tenable Network Security, Inc.");
  script_family(english:"Oracle Linux Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "Host/RedHat/release", "Host/RedHat/rpm-list");

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("rpm.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux");
release = get_kb_item("Host/RedHat/release");
if (isnull(release) || !eregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux");
os_ver = eregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux");
os_ver = os_ver[1];
if (! ereg(pattern:"^(6|7)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 6 / 7", "Oracle Linux " + os_ver);

if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu);

flag = 0;
if (rpm_check(release:"EL6", reference:"autocorr-af-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-bg-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ca-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-cs-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-da-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-de-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-en-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-es-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-fa-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-fi-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-fr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ga-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-hr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-hu-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-is-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-it-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ja-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ko-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-lb-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-lt-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-mn-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-nl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-pl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-pt-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ro-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-ru-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-sk-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-sl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-sr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-sv-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-tr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-vi-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"autocorr-zh-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-base-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-bsh-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-calc-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-core-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-draw-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-emailmerge-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-filters-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-gdb-debug-support-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-glade-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-graphicfilter-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-headless-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-impress-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-af-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ar-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-as-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-bg-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-bn-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ca-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-cs-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-cy-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-da-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-de-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-dz-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-el-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-en-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-es-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-et-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-eu-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-fi-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-fr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ga-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-gl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-gu-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-he-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-hi-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-hr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-hu-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-it-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ja-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-kn-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ko-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-lt-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-mai-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ml-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-mr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ms-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-nb-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-nl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-nn-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-nr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-nso-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-or-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-pa-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-pl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-pt-BR-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-pt-PT-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ro-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ru-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-sk-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-sl-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-sr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ss-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-st-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-sv-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ta-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-te-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-th-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-tn-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-tr-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ts-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-uk-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ur-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-ve-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-xh-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-zh-Hans-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-zh-Hant-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-langpack-zu-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-librelogo-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-math-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-nlpsolver-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-ogltrans-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-opensymbol-fonts-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-pdfimport-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-pyuno-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-rhino-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-sdk-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-sdk-doc-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-ure-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-wiki-publisher-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-writer-4.2.8.2-11.0.1.el6_7.1")) flag++;
if (rpm_check(release:"EL6", reference:"libreoffice-xsltfilter-4.2.8.2-11.0.1.el6_7.1")) flag++;

if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-af-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-bg-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ca-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-cs-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-da-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-de-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-en-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-es-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fa-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fi-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ga-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hu-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-is-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-it-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ja-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ko-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lb-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lt-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-mn-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-nl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pt-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ro-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ru-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sk-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sv-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-tr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-vi-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-zh-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-base-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-bsh-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-calc-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-core-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-draw-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-emailmerge-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-filters-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-glade-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-headless-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-impress-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-af-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-as-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-br-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-da-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-de-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-el-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-en-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-es-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-et-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-he-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-it-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-or-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-si-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-st-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-te-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-th-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-librelogo-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-math-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-officebean-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ogltrans-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-opensymbol-fonts-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pdfimport-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-postgresql-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pyuno-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-rhino-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ure-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-writer-4.3.7.2-5.0.1.el7_2.1")) flag++;
if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-4.3.7.2-5.0.1.el7_2.1")) flag++;


if (flag)
{
  if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
  else security_warning(0);
  exit(0);
}
else
{
  tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "autocorr-af / autocorr-bg / autocorr-ca / autocorr-cs / autocorr-da / etc");
}