Yes it can affect their naturalisation, unless the judgement has been settled ie you have paid the money. Its a good idea to ask the company who you owed money to mark the money owed as "satisfied" and obtain a credit report to make sure that the ccj has been satisfied. You must also not forget to declare this ccj in the relevant columns of form AN.