CVE-2018-17567: Jekyll Jekyll Allows Attackers To Access Vulnerability
HIGHCVE-2018-17567 is a HIGH (CVSS 7.5) jekyll allows attackers to access vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Jekyll libraries in the RubyGems ecosystem. The issue involves jekyll allows attackers to access arbitrary files by specifying a symlink. Remediation is available by upgrading affected packages to version 3.6.3, 3.7.4, 3.8.4.
CVE-2018-17567 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2018-17567
To remediate this vulnerability, upgrade all affected Jekyll dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade jekyll to 3.6.3
Upgrade jekyll to 3.7.4
Upgrade jekyll to 3.8.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for jekyll
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-17567, inspect your project dependencies for Jekyll:
inspect dependencies for jekyll
Analyze the terminal output to locate any version of Jekyll in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Jekyll, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-17567 Affected Jekyll Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jekyll
|
RubyGems |
< 3.6.3
|
3.6.3
|
|
jekyll
|
RubyGems |
≥ 3.7.0
< 3.7.4
|
3.7.4
|
|
jekyll
|
RubyGems |
≥ 3.8.0
< 3.8.4
|
3.8.4
|
References
Frequently Asked Questions
What is CVE-2018-17567?
Which Jekyll versions are affected?
What version fixes CVE-2018-17567?
Is jekyll affected?
What is the CVSS score of CVE-2018-17567?
What CWE is associated with CVE-2018-17567?
How can I check RubyGems dependencies for CVE-2018-17567?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4xjh-m3qx-49wc",
"modified" : "2023-09-05T21:41:33Z",
"published" : "2018-09-28T19:29:07Z",
"aliases" : [ "CVE-2018-17567" ],
"summary" : "Jekyll allows attackers to access arbitrary files by specifying a symlink",
"details" : "Jekyll through 3.6.2, 3.7.x through 3.7.3, and 3.8.x through 3.8.3 allows attackers to access arbitrary files by specifying a symlink in the `include` key in the `_config.yml` file.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "jekyll"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "jekyll"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.7.0"
}, {
"fixed" : "3.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "jekyll"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.8.0"
}, {
"fixed" : "3.8.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-17567"
}, {
"type" : "WEB",
"url" : "https://github.com/jekyll/jekyll/pull/7224"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jekyll/jekyll"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jekyll/CVE-2018-17567.yml"
}, {
"type" : "WEB",
"url" : "https://jekyllrb.com/news/2018/09/19/security-fixes-for-3-6-3-7-3-8"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/71da391f584b2fb301d2df0e491b279d87287e2fb4b11309f04ad984@%3Ccommits.accumulo.apache.org%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:59:43Z",
"nvd_published_at" : null
}
}