Skip to content
Heist/ feed
Back to feed
Critical

logcheck — security advisory

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

In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because of insecure recursive chown calls.

Products
logcheck
Affected versions
1.3.17, 1.3.17ubuntu0.1, 1.3.18, 1.3.20, 1.3.23, 1.4.3, 1.4.3ubuntu1, 1.4.5, 1.4.7, 1.4.7build1
Fixed versions
Not specified
CVEs
CVE-2017-20148
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:22 UTC · Revision 1

Source evidence

UBUNTU-CVE-2017-20148

core-osv · Original source

Published 20 Sept 2022, 18:15 UTC

In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because of insecure recursive chown calls.

osv:UBUNTU-CVE-2017-20148

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

logcheck

Fixed versions: Not specified

Complete source record
{
  "id": "0c03701f6fcd9463e824a714f8e8cd63ce6c7d3070334469c5e5317df6b12be0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2017-20148",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2017-20148",
    "summary": "In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because of insecure recursive chown calls.",
    "evidence": "osv:UBUNTU-CVE-2017-20148",
    "products": [
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.17",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.17ubuntu0.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.18",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.20",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.23",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.3ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.4.5",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.7build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "logcheck",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.5",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.4.7",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.4.7build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2017-20148",
      "aliases": [
        "UBUNTU-CVE-2017-20148"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3.17",
            "1.3.17ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.3.17ubuntu0.1"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.3.17ubuntu0.1"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.3.17ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3.18"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.3.18"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.3.18"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.3.18"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.20"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.3.20"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.3.20"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.3.20"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3.23"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.3.23"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.3.23"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.3.23"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.4.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.4.3"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.4.3"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.4.3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.4.3ubuntu1",
            "1.4.5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.4.5"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.4.5"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.4.5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.4.7build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.4.7build1"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.4.7build1"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.4.7build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "logcheck",
            "purl": "pkg:deb/ubuntu/logcheck?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.4.5",
            "1.4.7",
            "1.4.7build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "logcheck",
                "binary_version": "1.4.7build1"
              },
              {
                "binary_name": "logcheck-database",
                "binary_version": "1.4.7build1"
              },
              {
                "binary_name": "logtail",
                "binary_version": "1.4.7build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:53:16.422977418Z",
      "provider": "osv",
      "upstream": [
        "CVE-2017-20148"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2017-20148",
        "https://security.gentoo.org/glsa/202209-10",
        "https://www.cve.org/CVERecord?id=CVE-2017-20148"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2017-20148",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353397,
  "published_at": "2022-09-20T18:15:00+00:00"
}