CVE-2024-24768: Github.com/1Panel dev/1Panel 1Panel Set-cookie Is Missing The Vulnerability
LOWCVE-2024-24768 is a LOW (CVSS 3.5) 1panel set-cookie is missing the vulnerability (CWE-311: Missing Encryption of Sensitive Data) affecting Github.com/1Panel dev/1Panel libraries in the Go ecosystem. The issue involves 1panel set-cookie is missing the secure keyword. Remediation is available by upgrading affected packages to version 1.9.6.
CVE-2024-24768 at a Glance
Security Impact
CVSS: 3.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-24768
To remediate this vulnerability, upgrade all affected Github.com/1Panel dev/1Panel 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 github.com/1Panel-dev/1Panel to 1.9.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/1Panel-dev/1Panel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-24768, inspect your project dependencies for Github.com/1Panel dev/1Panel:
inspect dependencies for github.com/1Panel-dev/1Panel
Analyze the terminal output to locate any version of Github.com/1Panel dev/1Panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.6), 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-311: Missing Encryption of Sensitive Data, where the product does not encrypt sensitive or critical information before storage or transmission. In Github.com/1Panel dev/1Panel, 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-2024-24768 Affected Github.com/1Panel dev/1Panel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/1Panel-dev/1Panel
|
Go |
< 1.9.6
|
1.9.6
|
References
Frequently Asked Questions
What is CVE-2024-24768?
Which Github.com/1Panel dev/1Panel versions are affected?
What version fixes CVE-2024-24768?
Is github.com/1Panel-dev/1Panel affected?
What is the CVSS score of CVE-2024-24768?
What CWE is associated with CVE-2024-24768?
How can I check Go dependencies for CVE-2024-24768?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9xfw-jjq2-7v8h",
"modified" : "2025-01-20T16:52:56Z",
"published" : "2024-02-05T20:19:30Z",
"aliases" : [ "CVE-2024-24768" ],
"summary" : "1Panel set-cookie is missing the Secure keyword",
"details" : "### Summary\nThe https cookie that comes with the panel does not have the Secure keyword, which may cause the cookie to be sent in plain text when accessing http accidentally.\n\nhttps://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Set-Cookie#secure\n\n### PoC\nDirectly configure https for the panel, and then capture the packet when logging in again and find that the cookie does not have the Secure keyword\n\n### Impact\nEveryone who has configured the panel https\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/1Panel-dev/1Panel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.9.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-9xfw-jjq2-7v8h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24768"
}, {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/1Panel/pull/3817"
}, {
"type" : "WEB",
"url" : "https://github.com/1Panel-dev/1Panel/commit/1169648162c4b9b48e0b4aa508f9dea4d6bc50d5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/1Panel-dev/1Panel"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-311", "CWE-315" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-05T20:19:30Z",
"nvd_published_at" : "2024-02-05T15:15:09Z"
}
}