CVE-2022-35921: Fof/byobu Byobu User Preference To Prevent Vulnerability
LOWCVE-2022-35921 is a LOW (CVSS 3.5) byobu user preference to prevent vulnerability (CWE-269: Improper Privilege Management) affecting Fof/byobu libraries in the Packagist ecosystem. The issue involves byobu user preference to prevent private discussions being started are not respected. Remediation is available by upgrading affected packages to version 1.1.7.
CVE-2022-35921 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:N/I:L/A:N).
How to Fix CVE-2022-35921
To remediate this vulnerability, upgrade all affected Fof/byobu 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 fof/byobu to 1.1.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for fof/byobu
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-35921, inspect your project dependencies for Fof/byobu:
inspect dependencies for fof/byobu
Analyze the terminal output to locate any version of Fof/byobu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.7), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Fof/byobu, 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-2022-35921 Affected Fof/byobu Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fof/byobu
|
Packagist |
≥ 0.3.0-beta.2
< 1.1.7
|
1.1.7
|
References
Frequently Asked Questions
What is CVE-2022-35921?
Which Fof/byobu versions are affected?
What version fixes CVE-2022-35921?
Is fof/byobu affected?
What is the CVSS score of CVE-2022-35921?
What CWE is associated with CVE-2022-35921?
How can I check Packagist dependencies for CVE-2022-35921?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6gjm-6wj6-4px5",
"modified" : "2022-08-06T05:20:52Z",
"published" : "2022-08-06T05:20:52Z",
"aliases" : [ "CVE-2022-35921" ],
"summary" : "Byobu user preference to prevent private discussions being started are not respected",
"details" : "### Impact\nUsers electing to prevent others starting private discussions with themselves.\n\n> Please note that admins and others with appropriate permissions can always bypass this preference, as was the case before.\n\n### Patches\nUsers of Byobu should update the extension to version 1.1.7, where this has been patched. **This version is only supported on v1.2.0 and later of Flarum Core.**\n\nUsers of Byobu with Flarum 1.0 or 1.1 should upgrade to Flarum 1.2 or later, or evaluate the impact this issue has on your forum's users and choose to disable the extension if needed.\n\n### Workarounds\nThere are no workarounds for this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "fof/byobu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.0-beta.2"
}, {
"fixed" : "1.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfFlarum/byobu/security/advisories/GHSA-6gjm-6wj6-4px5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-35921"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfFlarum/byobu/commit/23dcf93a30f948d30c678a96681f7fdefeba5171"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FriendsOfFlarum/byobu"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-863" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-06T05:20:52Z",
"nvd_published_at" : "2022-08-01T22:15:00Z"
}
}