CVE-2022-39284

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-39284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-39284
Aliases
Published
2022-10-06T20:15:35Z
Modified
2024-06-06T14:06:47.513456Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

CodeIgniter is a PHP full-stack web framework. In versions prior to 4.2.7 setting $secure or $httponly value to true in Config\Cookie is not reflected in set_cookie() or Response::setCookie(). As a result cookie values are erroneously exposed to scripts. It should be noted that this vulnerability does not affect session cookies. Users are advised to upgrade to v4.2.7 or later. Users unable to upgrade are advised to manually construct their cookies either by setting the options in code or by constructing Cookie objects. Examples of each workaround are available in the linked GHSA.

References

Affected packages

Git / github.com/codeigniter4/codeigniter4

Affected ranges

Type
GIT
Repo
https://github.com/codeigniter4/codeigniter4
Events

Affected versions

4.*

4.0.0
4.0.2

v4.*

v4.0.1
v4.0.3
v4.0.4
v4.0.5
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.1.8
v4.1.9
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6