CVE-2018-19837

Source
https://cve.org/CVERecord?id=CVE-2018-19837
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19837.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19837
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (4)
UBUNTU (1)
Related
Published
2018-12-04T09:29:00Z
Modified
2026-07-08T16:40:03Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In LibSass prior to 3.5.5, Sass::Eval::operator()(Sass::Binary_Expression*) inside eval.cpp allows attackers to cause a denial-of-service resulting from stack consumption via a crafted sass file, because of certain incorrect parsing of '%' as a modulo operator in parser.cpp.

References

Affected packages

Git / github.com/sass/libsass

Affected ranges

Type
GIT
Repo
https://github.com/sass/libsass
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:sass-lang:libsass:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.5.5"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.1.0-beta
3.*
3.0
3.0.1
3.0.2
3.0rc1
3.0rc2
3.0rc4
3.1-alpha
3.1-alpha2
3.1.0
3.1.0-beta
3.1.0-beta.2
3.2.0
3.2.0-beta.1
3.2.0-beta.2
3.2.0-beta.3
3.2.0-beta.4
3.2.0-beta.5
3.2.0-beta.6
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.3.0
3.3.0-beta1
3.3.0-beta2
3.3.0-beta3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.4.0
3.4.0-RC1
3.4.2
3.5.0
3.5.0.beta.1
3.5.0.beta.2
3.5.0.beta.3
3.5.1
3.5.2
3.5.3
3.5.4
RELEASE-1.*
RELEASE-1.0
v2.*
v2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19837.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "165885596483511393063274280585420607993",
            "length":  2498
        },
        "id":  "CVE-2018-19837-ae1917b7",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sass/libsass/commit/210fdff7a65370c2ae24e022a2b35da8c423cc5f",
        "target":  {
            "file":  "src/parser.cpp",
            "function":  "Parser::parse_value"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "158550758329213429823339009714291952923",
                "248729470278415984234477818821013894605",
                "66451365466247137398889437797457684636",
                "311322115924971552268989963752639181995",
                "7945816132210125360185350847370858332"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-19837-c71612b0",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sass/libsass/commit/210fdff7a65370c2ae24e022a2b35da8c423cc5f",
        "target":  {
            "file":  "src/parser.cpp"
        }
    }
]
vanir_signatures_modified
"2026-07-08T16:40:03Z"