OPENSUSE-SU-2021:1424-1

Vulnerability from csaf_opensuse - Published: 2021-10-31 15:08 - Updated: 2026-09-20 19:30
Summary
Security update for civetweb
Severity
Moderate
Notes
Title of the patch: Security update for civetweb
Description of the patch: This update for civetweb fixes the following issues: Version 1.15: * boo#1191938 / CVE-2020-27304: missing uploaded filepath validation in the default form-based file upload mechanism * New configuration for URL decoding * Sanitize filenames in handle form * Example “embedded_c.c”: Do not overwrite files (possible security issue) * Remove obsolete examples * Remove “experimental” label for some features * Remove MG_LEGACY_INTERFACE that have been declared obsolete in 2017 or earlier * Modifications to build scripts, required due to changes in the test environment * Unix domain socket support fixed * Fixes for NO_SSL_DL * Fixes for some warnings / static code analysis Version 1.14: * Change SSL default setting to use TLS 1.2 as minimum (set config if you need an earlier version) * Add local_uri_raw field (not sanitized URI) to request_info * Additional API functions and a callback after closing connections * Allow mbedTLS as OpenSSL alternative (basic functionality) * Add OpenSSL 3.0 support (OpenSSL 3.0 Alpha 13) * Support UNIX/Linux domain sockets * Fuzz tests and ossfuzz integration * Compression for websockets * Restructure some source files * Improve documentation * Fix HTTP range requests * Add some functions for Lua scripts/LSP * Build system specific fixes (CMake, MinGW) * Update 3rd party components (Lua, lfs, sqlite) * Allow Lua background script to use timers, format and filter logs * Remove WinCE code * Update version number Version 1.13: * Add arguments for CGI interpreters * Support multiple CGi interpreters * Buffering HTTP response headers, including API functions mg_response_header_* in C and Lua * Additional C API functions * Fix some memory leaks * Extended use of atomic operations (e.g., for server stats) * Add fuzz tests * Set OpenSSL 1.1 API as default (from 1.0) * Add Lua 5.4 support and deprecate Lua 5.1 * Provide additional Lua API functions * Fix Lua websocket memory leak when closing the server * Remove obsolete 'file in memory' implementation * Improvements and fixes in documentation * Fixes from static source code analysis * Additional unit tests * Various small bug fixes * Experimental support for some HTTP2 features (not ready for production) * Experimental support for websocket compression * Remove legacy interfaces declared obsolete since more than 3 years Version 1.12 * See https://github.com/civetweb/civetweb/releases/tag/v1.12 for detailed changelog
Patchnames: openSUSE-2021-1424
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: openSUSE Leap 15.2:civetweb-0:1.15-lp152.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.2:civetweb-devel-0:1.15-lp152.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.2:libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.2:libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64 —
Vendor Fix
Threats
Impact critical

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for civetweb",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for civetweb fixes the following issues:\n\nVersion 1.15:\n\n* boo#1191938 / CVE-2020-27304: missing uploaded filepath validation in the default form-based file upload mechanism\n* New configuration for URL decoding\n* Sanitize filenames in handle form\n* Example \u201cembedded_c.c\u201d: Do not overwrite files (possible security issue)\n* Remove obsolete examples\n* Remove \u201cexperimental\u201d label for some features\n* Remove MG_LEGACY_INTERFACE that have been declared obsolete in 2017 or earlier\n* Modifications to build scripts, required due to changes in the test environment\n* Unix domain socket support fixed\n* Fixes for NO_SSL_DL\n* Fixes for some warnings / static code analysis\n\nVersion 1.14:\n\n* Change SSL default setting to use TLS 1.2 as minimum (set config if you need an earlier version)\n* Add local_uri_raw field (not sanitized URI) to request_info\n* Additional API functions and a callback after closing connections\n* Allow mbedTLS as OpenSSL alternative (basic functionality)\n* Add OpenSSL 3.0 support (OpenSSL 3.0 Alpha 13)\n* Support UNIX/Linux domain sockets\n* Fuzz tests and ossfuzz integration\n* Compression for websockets\n* Restructure some source files\n* Improve documentation\n* Fix HTTP range requests\n* Add some functions for Lua scripts/LSP\n* Build system specific fixes (CMake, MinGW)\n* Update 3rd party components (Lua, lfs, sqlite)\n* Allow Lua background script to use timers, format and filter logs\n* Remove WinCE code\n* Update version number \n\nVersion 1.13:\n\n* Add arguments for CGI interpreters\n* Support multiple CGi interpreters\n* Buffering HTTP response headers, including API functions mg_response_header_* in C and Lua\n* Additional C API functions\n* Fix some memory leaks\n* Extended use of atomic operations (e.g., for server stats)\n* Add fuzz tests\n* Set OpenSSL 1.1 API as default (from 1.0)\n* Add Lua 5.4 support and deprecate Lua 5.1\n* Provide additional Lua API functions\n* Fix Lua websocket memory leak when closing the server\n* Remove obsolete \u0027file in memory\u0027 implementation\n* Improvements and fixes in documentation\n* Fixes from static source code analysis\n* Additional unit tests\n* Various small bug fixes\n* Experimental support for some HTTP2 features (not ready for production)\n* Experimental support for websocket compression\n* Remove legacy interfaces declared obsolete since more than 3 years\n\nVersion 1.12 \n\n* See https://github.com/civetweb/civetweb/releases/tag/v1.12 for detailed changelog\n  \n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-2021-1424",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_1424-1.json"
      },
      {
        "category": "self",
        "summary": "URL for openSUSE-SU-2021:1424-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YJTZUANR73SYTZDQ6GMWGRR5O4MCEJA4/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for openSUSE-SU-2021:1424-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YJTZUANR73SYTZDQ6GMWGRR5O4MCEJA4/"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1191938",
        "url": "https://bugzilla.suse.com/1191938"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2020-27304 page",
        "url": "https://www.suse.com/security/cve/CVE-2020-27304/"
      }
    ],
    "title": "Security update for civetweb",
    "tracking": {
      "current_release_date": "2026-09-20T19:30:11Z",
      "generator": {
        "date": "2021-10-31T15:08:27Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2021:1424-1",
      "initial_release_date": "2021-10-31T15:08:27Z",
      "revision_history": [
        {
          "date": "2021-10-31T15:08:27Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-09-20T19:30:11Z",
          "number": "2",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "civetweb-0:1.15-lp152.2.3.1.x86_64",
                "product": {
                  "name": "civetweb-0:1.15-lp152.2.3.1.x86_64",
                  "product_id": "civetweb-0:1.15-lp152.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:civetweb_project:civetweb:1.15:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/civetweb@1.15-lp152.2.3.1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
                "product": {
                  "name": "civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
                  "product_id": "civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/suse/civetweb-devel@1.15-lp152.2.3.1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
                "product": {
                  "name": "libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
                  "product_id": "libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/suse/libcivetweb-cpp1_15_0@1.15-lp152.2.3.1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64",
                "product": {
                  "name": "libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64",
                  "product_id": "libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/suse/libcivetweb1_15_0@1.15-lp152.2.3.1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.2",
                "product": {
                  "name": "openSUSE Leap 15.2",
                  "product_id": "openSUSE Leap 15.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "civetweb-0:1.15-lp152.2.3.1.x86_64 as component of openSUSE Leap 15.2",
          "product_id": "openSUSE Leap 15.2:civetweb-0:1.15-lp152.2.3.1.x86_64"
        },
        "product_reference": "civetweb-0:1.15-lp152.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "civetweb-devel-0:1.15-lp152.2.3.1.x86_64 as component of openSUSE Leap 15.2",
          "product_id": "openSUSE Leap 15.2:civetweb-devel-0:1.15-lp152.2.3.1.x86_64"
        },
        "product_reference": "civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64 as component of openSUSE Leap 15.2",
          "product_id": "openSUSE Leap 15.2:libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64"
        },
        "product_reference": "libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64 as component of openSUSE Leap 15.2",
          "product_id": "openSUSE Leap 15.2:libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64"
        },
        "product_reference": "libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-27304",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2020-27304"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.2:civetweb-0:1.15-lp152.2.3.1.x86_64",
          "openSUSE Leap 15.2:civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
          "openSUSE Leap 15.2:libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
          "openSUSE Leap 15.2:libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2020-27304",
          "url": "https://www.suse.com/security/cve/CVE-2020-27304"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1191938 for CVE-2020-27304",
          "url": "https://bugzilla.suse.com/1191938"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.2:civetweb-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 15.2:civetweb-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:civetweb-devel-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:libcivetweb-cpp1_15_0-0:1.15-lp152.2.3.1.x86_64",
            "openSUSE Leap 15.2:libcivetweb1_15_0-0:1.15-lp152.2.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2021-10-31T15:08:27Z",
          "details": "critical"
        }
      ],
      "title": "CVE-2020-27304"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…