GHSA-4rcq-jv2f-898j

Suggest an improvement
Source
https://github.com/advisories/GHSA-4rcq-jv2f-898j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-4rcq-jv2f-898j/GHSA-4rcq-jv2f-898j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4rcq-jv2f-898j
Aliases
Related
Published
2020-05-08T19:05:05Z
Modified
2024-10-16T21:09:42.506497Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Incorrect Provision of Specified Functionality in qutebrowser
Details

Description

After a certificate error was overridden by the user, qutebrowser displays the URL as yellow (colors.statusbar.url.warn.fg). However, when the affected website was subsequently loaded again, the URL was mistakenly displayed as green (colors.statusbar.url.success_https). While the user already has seen a certificate error prompt at this point (or set content.ssl_strict to false which is not recommended), this could still provide a false sense of security.

Affected versions and patches

All versions of qutebrowser are believed to be affected, though versions before v0.11.x couldn't be tested.

The issue is fixed in qutebrowser v1.11.1 (pending release) and v1.12.0 (unreleased). Backported patches for older versions are available, but no further releases are planned.

Mitigation

If you are unable to upgrade:

  • Treat any host with a certificate exception as insecure, ignoring the URL color
  • Or set content.ssl_strict to True (instead of 'ask'), preventing certificate exceptions

References

  • qutebrowser issue: https://github.com/qutebrowser/qutebrowser/issues/5403
  • Fix (master branch): https://github.com/qutebrowser/qutebrowser/commit/021ab572a319ca3db5907a33a59774f502b3b975
  • Related issue for KDE Falkon: https://bugs.kde.org/show_bug.cgi?id=420902
  • Related issue for eric6 Web Browser: https://tracker.die-offenbachs.homelinux.org/eric/issue328 (fixed in eric6 20.6)
Database specific
{
    "nvd_published_at": "2020-05-07T21:15:00Z",
    "cwe_ids": [
        "CWE-684"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2020-05-08T19:04:30Z"
}
References

Affected packages

PyPI / qutebrowser

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.1

Affected versions

0.*

0.0.0
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.2.0
0.2.1
0.3.0
0.4.0
0.4.1
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.7.0
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.9.0
0.9.1
0.10.0
0.10.1
0.11.0
0.11.1

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.8.0
1.8.1
1.8.2
1.8.3
1.9.0
1.10.0
1.10.1
1.10.2
1.11.0