removal of NetworkManager-{vpnc,fortisslvpn} in F43 and F44 #3693

Closed
opened 2026-10-12 11:45:29 +00:00 by zbyszek · 30 comments
Member

This is a continuation of discussion in #3681.

Those packages are retired and obsoleted by NetworkManager in F45+.
The question is what to do in F43 and F44.

NetworkManager-vpnc is installed by default and completely subverts Unix permissions.

NM docs (https://networkmanager.dev/docs/vpn/) say:

  • NetworkManager-fortisslvpn: Fortinet SSLVPN compatible. End of life, unmaintained: upstream has had no maintainer since 2024 and no release since 1.4.0 in 2022. Use NetworkManager-openconnect instead, which covers the same older PPP-based Fortinet protocol
  • NetworkManager-vpnc: IPsec VPN, Cisco compatible. Unmaintained NetworkManager-libreswan covers the same IKEv1 protocol family and is a possible migration target, but connection profiles have to be recreated and per-option parity has not been checked
  • NetworkManager-libreswan: IPsec IKEv1 VPN, Cisco compatible. Maintained by the NetworkManager maintainers

I agree that just automatically removing the packages on upgrade would be too much. Nevertheless, we I don't think we should let users continue using those plugins without any warning.

Rough proposal: update the rpms in F43 and F44 to log a verbose warning during dnf upgrade so that it appears on the console and the journal (via %post or %posttrans scriptlet probably) and also emit a warning at every boot if those rpms are installed. The warning should tell users to migrate and to remove those rpms if unused. F43 is going EOL soon, so that is enough. In F44, after another month from the update with the warnings going stable, add Obsoletes to NM to forcibly remove those packages.

/cc @catanzaro

This is a continuation of discussion in https://forge.fedoraproject.org/fesco/tickets/issues/3681. Those packages are retired and obsoleted by NetworkManager in F45+. The question is what to do in F43 and F44. > NetworkManager-vpnc is installed by default and completely subverts Unix permissions. NM docs (https://networkmanager.dev/docs/vpn/) say: - NetworkManager-fortisslvpn: Fortinet SSLVPN compatible. End of life, unmaintained: upstream has had no maintainer since 2024 and no release since 1.4.0 in 2022. Use NetworkManager-openconnect instead, which covers the same older PPP-based Fortinet protocol - NetworkManager-vpnc: IPsec VPN, Cisco compatible. Unmaintained NetworkManager-libreswan covers the same IKEv1 protocol family and is a possible migration target, but connection profiles have to be recreated and per-option parity has not been checked - NetworkManager-libreswan: IPsec IKEv1 VPN, Cisco compatible. Maintained by the NetworkManager maintainers I agree that just automatically removing the packages on upgrade would be too much. Nevertheless, we I don't think we should let users continue using those plugins without any warning. Rough proposal: update the rpms in F43 and F44 to log a verbose warning during `dnf upgrade` so that it appears on the console and the journal (via `%post` or `%posttrans` scriptlet probably) and also emit a warning at every boot if those rpms are installed. The warning should tell users to migrate and to remove those rpms if unused. F43 is going EOL soon, so that is enough. In F44, after another month from the update with the warnings going stable, add Obsoletes to NM to forcibly remove those packages. /cc @catanzaro
Member

DNF intentionally chews up output, nobody is going to see it. I'm fundamentally opposed to forcibly uninstalling VPN plugins within a Fedora release simply because it's totally crippling for users.

If we want to notify people, someone should write a Fedora Magazine article telling people those plugins are gone for F45 and describe how to migrate to supported plugins.

DNF intentionally chews up output, nobody is going to see it. I'm fundamentally opposed to forcibly uninstalling VPN plugins within a Fedora release simply because it's totally crippling for users. If we want to notify people, someone should write a Fedora Magazine article telling people those plugins are gone for F45 and describe how to migrate to supported plugins.
Member

(Also, just to note, all major enterprise VPNs require some way to run code as root to run system compliance scripts that are pushed from the VPN gateway on the client machine to determine whether it's safe to authorize. By definition, those scripts can do whatever they want, so I do not really worry about "subverting Unix permissions.")

(Also, just to note, all major enterprise VPNs _require_ some way to run code as root to run system compliance scripts that are pushed from the VPN gateway on the client machine to determine whether it's safe to authorize. By definition, those scripts can do whatever they want, so I do not really worry about "subverting Unix permissions.")

That's news to me. Allowing the VPN gateway to execute code as root on the user's machine is highly questionable, but that's not a subversion of Unix permissions because the VPN gateway is (apparently) inherently trusted in this scenario.

These NetworkManager VPN plugin vulnerabilities, in contrast, (apparently) allow unprivileged processes on the user's machine to execute arbitrary commands as root. If this was a CVE in sudo, you'd probably be rushing to fix it, but the effect is identical.

That's news to me. Allowing the VPN gateway to execute code as root on the user's machine is highly questionable, but that's not a subversion of Unix permissions because the VPN gateway is (apparently) inherently trusted in this scenario. These NetworkManager VPN plugin vulnerabilities, in contrast, (apparently) allow unprivileged processes on the user's machine to execute arbitrary commands as root. If this was a CVE in sudo, you'd probably be rushing to fix it, but the effect is identical.
Member

-1, printing warnings during RPM scriptlets is not a valid notification mechanism for users since (almost) nobody will see them, which is why this is a MUST NOT since https://forge.fedoraproject.org/packaging/guidelines/pulls/1518/files.

A widely-publicized Fedora Magazine article telling users what to do on upgrade (and potentially how to migrate away from those plugins on Fedora <45) sounds like a better idea.

-1, printing warnings during RPM scriptlets is not a valid notification mechanism for users since (almost) nobody will see them, which is why this is a **MUST NOT** since <https://forge.fedoraproject.org/packaging/guidelines/pulls/1518/files>. A widely-publicized Fedora Magazine article telling users what to do on upgrade (and potentially how to migrate away from those plugins on Fedora <45) sounds like a better idea.

I agree that affected users are unlikely to notice command line warnings.

I agree that affected users are unlikely to notice command line warnings.
Owner

Yeah, -1 to the warnings. A article with info thats widely shared is probibly the best approach.

Yeah, -1 to the warnings. A article with info thats widely shared is probibly the best approach.
Member

-1 for warnings
+1 for a magazine article

-1 for warnings +1 for a magazine article
Member

I've removed those plugins for the Atomic Desktops in F45 (atomic-desktops/config#801). Given that it's "more difficult" for users to remove them on the Atomic Desktops, we could remove them from the F44 images as well. Users can always layer them back if they need them.

I've removed those plugins for the Atomic Desktops in F45 (https://forge.fedoraproject.org/atomic-desktops/config/pulls/801). Given that it's "more difficult" for users to remove them on the Atomic Desktops, we could remove them from the F44 images as well. Users can always layer them back if they need them.
Member

I've made atomic-desktops/config#813 to show what that would look like for the Atomic Desktops for F44 (pending decision here).

I've made https://forge.fedoraproject.org/atomic-desktops/config/pulls/813 to show what that would look like for the Atomic Desktops for F44 (pending decision here).
Member

@catanzaro wrote in #3693 (comment):

That's news to me. Allowing the VPN gateway to execute code as root on the user's machine is highly questionable, but that's not a subversion of Unix permissions because the VPN gateway is (apparently) inherently trusted in this scenario.

These NetworkManager VPN plugin vulnerabilities, in contrast, (apparently) allow unprivileged processes on the user's machine to execute arbitrary commands as root. If this was a CVE in sudo, you'd probably be rushing to fix it, but the effect is identical.

I would expect that. How else does a user-level configuration get to run a root-level script for the verification? It's just not in my threat model as a user of these kinds of VPNs.

(That's not to say I like this, but it's not in my threat model.)

@catanzaro wrote in https://forge.fedoraproject.org/fesco/tickets/issues/3693#issuecomment-1365590: > That's news to me. Allowing the VPN gateway to execute code as root on the user's machine is highly questionable, but that's not a subversion of Unix permissions because the VPN gateway is (apparently) inherently trusted in this scenario. > > These NetworkManager VPN plugin vulnerabilities, in contrast, (apparently) allow unprivileged processes on the user's machine to execute arbitrary commands as root. If this was a CVE in sudo, you'd probably be rushing to fix it, but the effect is identical. I would expect that. How else does a user-level configuration get to run a root-level script for the verification? It's just not in my threat model as a user of these kinds of VPNs. (That's not to say I *like* this, but it's not in my threat model.)
Author
Member

I'm fine with a Fedora Magazine article too. IIUC, exploitation requires a local session, which limits the impact somewhat.

Do we have a volunteer to write this up?

I'm fine with a Fedora Magazine article too. IIUC, exploitation requires a local session, which limits the impact somewhat. Do we have a volunteer to write this up?
Member

seconding siosm

-1 for printing warnings nobody will see, +1 for a Fedora Magazine article

seconding siosm -1 for printing warnings nobody will see, +1 for a Fedora Magazine article
Member

-1 for warnings and obsoletes in F43/F44
+1 for magazine article that explains things for people upgrading to F45

-1 for warnings and obsoletes in F43/F44 +1 for magazine article that explains things for people upgrading to F45
Member

+1, Let's be very loud about it with a magzaine article (is that the loudest we can be?). Also should we potentially do both? I mean having a magazine article doesn't obviate a scriptlet output at least.

+1, Let's be very loud about it with a magzaine article (is that the loudest we can be?). Also should we potentially do *both*? I mean having a magazine article doesn't obviate a scriptlet output at least.

Note: NetworkManager-iodine and NetworkManager-sstp both have the same problem and are not yet fixed. We should probably do something about these ones too. They're not installed by default, but unlike NetworkManager-vpnc and NetworkManager-fortisslvpn, they are not obsolete. Here's my blog post with links to every issue report.

NetworkManager-l2tp also had the same problem, but this one has been fixed with updates released to all supported versions of Fedora, so that is fully resolved.

We should probably actually test to make sure an unprivileged user can really exploit the bugs, as claimed, before publishing a Fedora magazine article. I expect so, but would be good to make sure.

Note: NetworkManager-iodine and NetworkManager-sstp both have the same problem and are not yet fixed. We should probably do something about these ones too. They're not installed by default, but unlike NetworkManager-vpnc and NetworkManager-fortisslvpn, they are not obsolete. [Here's my blog post](https://blogs.gnome.org/mcatanzaro/2026/09/15/privilege-escalation-vulnerabilities-in-networkmanager-plugins/) with links to every issue report. NetworkManager-l2tp also had the same problem, but this one has been fixed with updates released to all supported versions of Fedora, so that is fully resolved. We should probably actually test to make sure an unprivileged user can really exploit the bugs, as claimed, before publishing a Fedora magazine article. I expect so, but would be good to make sure.

NetworkManager-iodine at least has a patch available.

NetworkManager-iodine at least has a [patch available](https://gitlab.gnome.org/GNOME/network-manager-iodine/-/merge_requests/6).
Member

This issue will be discussed at the next meeting on 2026-10-20

This issue will be discussed at the next meeting on 2026-10-20
Owner

@catanzaro Do you have any time/cycles to write a fedora magazine article on this? Basically just like your blog but perhaps with more 'what you could do / migrate to' ?

@catanzaro Do you have any time/cycles to write a fedora magazine article on this? Basically just like your blog but perhaps with more 'what you could do / migrate to' ?
Owner

Update: I have generated an article using google gemini using this ticket and the other one as content with the prompt: 'write me a short Fedora Magazine article that describes the changes that happened to NetworkManager that affect end users that are described in these tickets #3681 #3693'

Ive moved the output to a google doc and emailed Till and Beniamino (both RH) the doc and asked them to review and edit it for ai-lies. I will also open an article request for this with the Fedora Magazine team. If approved, I can then load the human-checked content to wordpress for editor review. I've asked that this article be ready for the current release date (27 Oct) as it affects end users.

If you want me to paste in the ai-generated article here, or elsewhere, too for your own review, please let me know where best for it to go.

Update: I have generated an article using google gemini using this ticket and the other one as content with the prompt: 'write me a short Fedora Magazine article that describes the changes that happened to NetworkManager that affect end users that are described in these tickets https://forge.fedoraproject.org/fesco/tickets/issues/3681 https://forge.fedoraproject.org/fesco/tickets/issues/3693' Ive moved the output to a google doc and emailed Till and Beniamino (both RH) the doc and asked them to review and edit it for ai-lies. I will also open an article request for this with the Fedora Magazine team. If approved, I can then load the human-checked content to wordpress for editor review. I've asked that this article be ready for the current release date (27 Oct) as it affects end users. If you want me to paste in the ai-generated article here, or elsewhere, too for your own review, please let me know where best for it to go.

I do not, sorry.

I do not, sorry.

Um, sorry. I was responding to Kevin, not to Aoife.

Um, sorry. I was responding to Kevin, not to Aoife.
Author
Member

OK, so we have an magazine article being prepared.

OK, so we have an magazine article being prepared.
Author
Member
https://fedoramagazine.org/migrating-away-from-unmaintained-networkmanager-vpnpluginsvpnc-and-fortisslvpn/ was published today. Do we want to take further steps?

Further steps:

  • Obsolete the NetworkManager-openvpn and NetworkManager-fortisslvpn packages in F44 and F43
  • Warn users about NetworkManager-sstp (as I had suggested above, too bad we published without doing this) and consider removing or obsoleting this package as well since upstream seems to have disappeared. CC @szpak, and also @jskarvad because you touched it recently
  • Looks like NetworkManager-iodine is probably already fixed in all supported Fedoras (although the patch was committed to lookaside cache rather than dist-git; @danfruehauf please use git add in the future, not fedpkg new-sources) so nothing else to do there
Further steps: * Obsolete the NetworkManager-openvpn and NetworkManager-fortisslvpn packages in F44 and F43 * Warn users about NetworkManager-sstp (as I had suggested above, too bad we published without doing this) and consider removing or obsoleting this package as well since upstream seems to have disappeared. CC @szpak, and also @jskarvad because you touched it recently * Looks like NetworkManager-iodine is probably already fixed in all supported Fedoras (although the patch was committed to lookaside cache rather than dist-git; @danfruehauf please use `git add` in the future, not `fedpkg new-sources`) so nothing else to do there
Member

I still would like to do atomic-desktops/config#813 for the F44 Atomic Desktops. We already don't have the fortisslvpn VPN plugin so this would mostly remove the vpnc one.

This would only remove them by default from the image and users can always re-layer them if they really need them and can't migrate. They can also rollback to a previous version after an update so they are not stuck without network if the plugin was required for internet access.

I would not do it for F43 (soon EOL).

I still would like to do https://forge.fedoraproject.org/atomic-desktops/config/pulls/813 for the F44 Atomic Desktops. We already don't have the fortisslvpn VPN plugin so this would mostly remove the vpnc one. This would only remove them by default from the image and users can always re-layer them if they really need them and can't migrate. They can also rollback to a previous version after an update so they are not stuck without network if the plugin was required for internet access. I would not do it for F43 (soon EOL).
Member

+1 to siosm's proposal scoped to F44 Atomic Desktops, since rolling back without requiring network access and layering are valid workarounds for users who truly rely on the vpnc plugin.

-1 to obsoleting the packages entirely.

**+1** to siosm's proposal scoped to F44 Atomic Desktops, since rolling back without requiring network access and layering are valid workarounds for users who truly rely on the vpnc plugin. **-1** to obsoleting the packages entirely.
Member

same as ↑ (+1 for removing it from F44 Atomics, -1 to obsoleting them in general in F44)

same as ↑ (+1 for removing it from F44 Atomics, -1 to obsoleting them in general in F44)
Member

-0 to removing from Atomics, it just doesn't seem worth it to do that.
-1 to obsoleting the packages entirely.

-0 to removing from Atomics, it just doesn't seem worth it to do that. -1 to obsoleting the packages entirely.
Owner

I'm +1 for removing from atomix, -1 for obsoleting entirely also.

I'm +1 for removing from atomix, -1 for obsoleting entirely also.
Member

From today's meeting:

APPROVED (+7, 1, -0) for removing from the Atomic Desktops F44
REJECTED (+0, 1, -5) for adding obsoletes in F44

Adding an answer to a question that was asked in the meeting:

Q: Can you update and install packages at the same time on an Atomic Desktop?

A: Yes, with `rpm-ostree update --install PKG`, so a user with no Internet access on F44 after this update could rollback, find the Fedora Magazine article, then convert their configuration or should be able to update and install the package that were removed from the image.
From [today's meeting](https://meetbot.fedoraproject.org/meeting_matrix_fedoraproject-org/2026-11-10/fesco.2026-11-10-18.00.html): APPROVED (+7, 1, -0) for removing from the Atomic Desktops F44 REJECTED (+0, 1, -5) for adding obsoletes in F44 Adding an answer to a question that was asked in the meeting: ``` Q: Can you update and install packages at the same time on an Atomic Desktop? A: Yes, with `rpm-ostree update --install PKG`, so a user with no Internet access on F44 after this update could rollback, find the Fedora Magazine article, then convert their configuration or should be able to update and install the package that were removed from the image. ```
siosm 2026-11-10 19:57:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
10 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fesco/tickets#3693
No description provided.